Advertisement
Guest User

virsh reverting changes

a guest
Aug 26th, 2021
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.89 KB | None | 0 0
  1. <!--
  2. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  3. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  4.  virsh edit win10
  5. or other application using the libvirt API.
  6. -->
  7.  
  8. <domain type='qemu'> <!-- TRYING TO CHANGE THIS -->
  9.   <name>win10</name>
  10.   <uuid>7901d9b1-83b4-49ee-bce9-3454242a5fff</uuid>
  11.   <metadata xmlns:ns0="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  12.     <ns0:libosinfo>
  13.       <ns0:os id="http://microsoft.com/win/10"/>
  14.     </ns0:libosinfo>
  15.   </metadata>
  16.   <memory unit='KiB'>8388608</memory>
  17.   <currentMemory unit='KiB'>8388608</currentMemory>
  18.   <vcpu placement='static'>1</vcpu>
  19.   <os>
  20.     <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
  21.     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  22.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  23.     <bootmenu enable='yes'/>
  24.   </os>
  25.   <features>
  26.     <acpi/>
  27.     <apic/>
  28.     <hyperv>
  29.       <relaxed state='on'/>
  30.       <vapic state='on'/>
  31.       <spinlocks state='on' retries='8191'/>
  32.       <vendor_id state='on' value='6db495af850d'/>
  33.     </hyperv>
  34.     <kvm>
  35.       <hidden state='on'/>
  36.     </kvm>
  37.     <vmport state='off'/>
  38.     <ioapic driver='kvm'/>
  39.   </features>
  40.   <cpu mode='host-model' check='partial'/>
  41.   <clock offset='localtime'>
  42.     <timer name='rtc' tickpolicy='catchup'/>
  43.     <timer name='pit' tickpolicy='delay'/>
  44.     <timer name='hpet' present='no'/>
  45.     <timer name='hypervclock' present='yes'/>
  46.   </clock>
  47.   <on_poweroff>destroy</on_poweroff>
  48.   <on_reboot>restart</on_reboot>
  49.   <on_crash>destroy</on_crash>
  50.   <pm>
  51.     <suspend-to-mem enabled='no'/>
  52.     <suspend-to-disk enabled='no'/>
  53.   </pm>
  54.   <devices>
  55.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  56.     <disk type='file' device='disk'>
  57.       <driver name='qemu' type='qcow2'/>
  58.       <source file='/var/lib/libvirt/images/win10.qcow2'/>
  59.       <target dev='sda' bus='sata'/>
  60.       <boot order='1'/>
  61.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  62.     </disk>
  63.     <disk type='file' device='cdrom'>
  64.       <driver name='qemu' type='raw'/>
  65.       <source file='/home/b/Downloads/Win10_21H1_English_x64.iso'/>
  66.       <target dev='sdb' bus='sata'/>
  67.       <readonly/>
  68.       <boot order='2'/>
  69.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  70.     </disk>
  71.     <disk type='file' device='cdrom'>
  72.       <driver name='qemu' type='raw'/>
  73.       <source file='/home/b/Downloads/virtio-win-0.1.196.iso'/>
  74.       <target dev='sdc' bus='sata'/>
  75.       <readonly/>
  76.       <boot order='3'/>
  77.       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  78.     </disk>
  79.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  80.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  81.     </controller>
  82.     <controller type='sata' index='0'>
  83.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  84.     </controller>
  85.     <controller type='pci' index='0' model='pcie-root'/>
  86.     <controller type='pci' index='1' model='pcie-root-port'>
  87.       <model name='pcie-root-port'/>
  88.       <target chassis='1' port='0x10'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  90.     </controller>
  91.     <controller type='pci' index='2' model='pcie-root-port'>
  92.       <model name='pcie-root-port'/>
  93.       <target chassis='2' port='0x11'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  95.     </controller>
  96.     <controller type='pci' index='3' model='pcie-root-port'>
  97.       <model name='pcie-root-port'/>
  98.       <target chassis='3' port='0x12'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  100.     </controller>
  101.     <controller type='pci' index='4' model='pcie-root-port'>
  102.       <model name='pcie-root-port'/>
  103.       <target chassis='4' port='0x13'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  105.     </controller>
  106.     <controller type='pci' index='5' model='pcie-root-port'>
  107.       <model name='pcie-root-port'/>
  108.       <target chassis='5' port='0x14'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  110.     </controller>
  111.     <controller type='pci' index='6' model='pcie-root-port'>
  112.       <model name='pcie-root-port'/>
  113.       <target chassis='6' port='0x15'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  115.     </controller>
  116.     <controller type='pci' index='7' model='pcie-root-port'>
  117.       <model name='pcie-root-port'/>
  118.       <target chassis='7' port='0x16'/>
  119.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  120.     </controller>
  121.     <controller type='pci' index='8' model='pcie-root-port'>
  122.       <model name='pcie-root-port'/>
  123.       <target chassis='8' port='0x17'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
  125.     </controller>
  126.     <controller type='pci' index='9' model='pcie-root-port'>
  127.       <model name='pcie-root-port'/>
  128.       <target chassis='9' port='0x18'/>
  129.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  130.     </controller>
  131.     <controller type='virtio-serial' index='0'>
  132.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  133.     </controller>
  134.     <interface type='network'>
  135.       <mac address='52:54:00:cd:34:e9'/>
  136.       <source network='default'/>
  137.       <model type='virtio'/>
  138.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  139.     </interface>
  140.     <serial type='pty'>
  141.       <target type='isa-serial' port='0'>
  142.         <model name='isa-serial'/>
  143.       </target>
  144.     </serial>
  145.     <console type='pty'>
  146.       <target type='serial' port='0'/>
  147.     </console>
  148.     <channel type='spicevmc'>
  149.       <target type='virtio' name='com.redhat.spice.0'/>
  150.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  151.     </channel>
  152.     <input type='tablet' bus='usb'>
  153.       <address type='usb' bus='0' port='1'/>
  154.     </input>
  155.     <input type='mouse' bus='ps2'/>
  156.     <input type='keyboard' bus='ps2'/>
  157.     <graphics type='spice' autoport='yes'>
  158.       <listen type='address'/>
  159.       <image compression='off'/>
  160.     </graphics>
  161.     <sound model='ich9'>
  162.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  163.     </sound>
  164.     <video>
  165.       <model type='vga' vram='16384' heads='1' primary='yes'/>
  166.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  167.     </video>
  168.     <hostdev mode='subsystem' type='pci' managed='yes'>
  169.       <source>
  170.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  171.       </source>
  172.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  173.     </hostdev>
  174.     <hostdev mode='subsystem' type='pci' managed='yes'>
  175.       <source>
  176.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  177.       </source>
  178.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  179.     </hostdev>
  180.     <hostdev mode='subsystem' type='pci' managed='yes'>
  181.       <source>
  182.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x2'/>
  183.       </source>
  184.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  185.     </hostdev>
  186.     <hostdev mode='subsystem' type='pci' managed='yes'>
  187.       <source>
  188.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x3'/>
  189.       </source>
  190.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  191.     </hostdev>
  192.     <redirdev bus='usb' type='spicevmc'>
  193.       <address type='usb' bus='0' port='2'/>
  194.     </redirdev>
  195.     <redirdev bus='usb' type='spicevmc'>
  196.       <address type='usb' bus='0' port='3'/>
  197.     </redirdev>
  198.     <memballoon model='virtio'>
  199.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  200.     </memballoon>
  201.   </devices>
  202. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement