Advertisement
lila0110

windows.xml

May 12th, 2021 (edited)
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.57 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>windows</name>
  3.   <uuid>9bce9a2e-9d7c-4b1f-9c99-d73a04139f9e</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/10"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit="KiB">24576000</memory>
  10.   <currentMemory unit="KiB">24576000</currentMemory>
  11.   <vcpu placement="static">12</vcpu>
  12.   <os>
  13.     <type arch="x86_64" machine="pc-q35-6.0">hvm</type>
  14.     <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/windows_VARS.fd</nvram>
  16.   </os>
  17.   <features>
  18.     <acpi/>
  19.     <apic/>
  20.     <hyperv>
  21.       <relaxed state="on"/>
  22.       <vapic state="on"/>
  23.       <spinlocks state="on" retries="8191"/>
  24.       <vpindex state="on"/>
  25.       <runtime state="on"/>
  26.       <synic state="on"/>
  27.       <stimer state="on"/>
  28.       <reset state="on"/>
  29.       <vendor_id state="on" value="kaori"/>
  30.       <frequencies state="on"/>
  31.     </hyperv>
  32.     <kvm>
  33.       <hidden state="on"/>
  34.     </kvm>
  35.     <vmport state="off"/>
  36.   </features>
  37.   <cpu mode="host-model" check="partial">
  38.     <topology sockets="1" dies="1" cores="4" threads="3"/>
  39.   </cpu>
  40.   <clock offset="localtime">
  41.     <timer name="rtc" tickpolicy="catchup"/>
  42.     <timer name="pit" tickpolicy="delay"/>
  43.     <timer name="hpet" present="no"/>
  44.     <timer name="hypervclock" present="yes"/>
  45.   </clock>
  46.   <on_poweroff>destroy</on_poweroff>
  47.   <on_reboot>restart</on_reboot>
  48.   <on_crash>destroy</on_crash>
  49.   <pm>
  50.     <suspend-to-mem enabled="no"/>
  51.     <suspend-to-disk enabled="no"/>
  52.   </pm>
  53.   <devices>
  54.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  55.     <disk type="file" device="disk">
  56.       <driver name="qemu" type="qcow2"/>
  57.       <source file="/var/lib/libvirt/images/win10-clone.qcow2"/>
  58.       <target dev="sda" bus="sata"/>
  59.       <boot order="1"/>
  60.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  61.     </disk>
  62.     <disk type="file" device="cdrom">
  63.       <driver name="qemu" type="raw"/>
  64.       <source file="/home/lila/Desktop/ReviOS_21H1_1.0.iso"/>
  65.       <target dev="sdb" bus="sata"/>
  66.       <readonly/>
  67.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  68.     </disk>
  69.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  70.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  71.     </controller>
  72.     <controller type="sata" index="0">
  73.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  74.     </controller>
  75.     <controller type="pci" index="0" model="pcie-root"/>
  76.     <controller type="pci" index="1" model="pcie-root-port">
  77.       <model name="pcie-root-port"/>
  78.       <target chassis="1" port="0x10"/>
  79.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  80.     </controller>
  81.     <controller type="pci" index="2" model="pcie-root-port">
  82.       <model name="pcie-root-port"/>
  83.       <target chassis="2" port="0x11"/>
  84.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  85.     </controller>
  86.     <controller type="pci" index="3" model="pcie-root-port">
  87.       <model name="pcie-root-port"/>
  88.       <target chassis="3" port="0x12"/>
  89.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  90.     </controller>
  91.     <controller type="pci" index="4" model="pcie-root-port">
  92.       <model name="pcie-root-port"/>
  93.       <target chassis="4" port="0x13"/>
  94.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  95.     </controller>
  96.     <controller type="pci" index="5" model="pcie-root-port">
  97.       <model name="pcie-root-port"/>
  98.       <target chassis="5" port="0x14"/>
  99.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  100.     </controller>
  101.     <controller type="pci" index="6" model="pcie-root-port">
  102.       <model name="pcie-root-port"/>
  103.       <target chassis="6" port="0x8"/>
  104.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  105.     </controller>
  106.     <controller type="pci" index="7" model="pcie-root-port">
  107.       <model name="pcie-root-port"/>
  108.       <target chassis="7" port="0x9"/>
  109.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  110.     </controller>
  111.     <controller type="pci" index="8" model="pcie-root-port">
  112.       <model name="pcie-root-port"/>
  113.       <target chassis="8" port="0xa"/>
  114.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  115.     </controller>
  116.     <controller type="virtio-serial" index="0">
  117.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  118.     </controller>
  119.     <interface type="network">
  120.       <mac address="52:54:00:43:8a:00"/>
  121.       <source network="default"/>
  122.       <model type="e1000e"/>
  123.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  124.     </interface>
  125.     <serial type="pty">
  126.       <target type="isa-serial" port="0">
  127.         <model name="isa-serial"/>
  128.       </target>
  129.     </serial>
  130.     <console type="pty">
  131.       <target type="serial" port="0"/>
  132.     </console>
  133.     <input type="mouse" bus="ps2"/>
  134.     <input type="keyboard" bus="ps2"/>
  135.     <sound model="ich9">
  136.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  137.     </sound>
  138.     <audio id="1" type="spice"/>
  139.     <hostdev mode="subsystem" type="usb" managed="yes">
  140.       <source>
  141.         <vendor id="0x1b1c"/>
  142.         <product id="0x1b40"/>
  143.       </source>
  144.       <address type="usb" bus="0" port="1"/>
  145.     </hostdev>
  146.     <hostdev mode="subsystem" type="usb" managed="yes">
  147.       <source>
  148.         <vendor id="0x1b1c"/>
  149.         <product id="0x1b3c"/>
  150.       </source>
  151.       <address type="usb" bus="0" port="4"/>
  152.     </hostdev>
  153.     <hostdev mode="subsystem" type="pci" managed="yes">
  154.       <source>
  155.         <address domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  156.       </source>
  157.       <rom bar="on" file="/home/lila/patch.rom"/>
  158.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  159.     </hostdev>
  160.     <hostdev mode="subsystem" type="pci" managed="yes">
  161.       <source>
  162.         <address domain="0x0000" bus="0x06" slot="0x00" function="0x1"/>
  163.       </source>
  164.       <rom file="/home/lila/patch.rom"/>
  165.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  166.     </hostdev>
  167.     <hostdev mode="subsystem" type="pci" managed="yes">
  168.       <source>
  169.         <address domain="0x0000" bus="0x06" slot="0x00" function="0x2"/>
  170.       </source>
  171.       <rom file="/home/lila/patch.rom"/>
  172.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  173.     </hostdev>
  174.     <hostdev mode="subsystem" type="pci" managed="yes">
  175.       <source>
  176.         <address domain="0x0000" bus="0x06" slot="0x00" function="0x3"/>
  177.       </source>
  178.       <rom file="/home/lila/patch.rom"/>
  179.       <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  180.     </hostdev>
  181.     <hostdev mode="subsystem" type="usb" managed="yes">
  182.       <source>
  183.         <vendor id="0x0846"/>
  184.         <product id="0x9053"/>
  185.       </source>
  186.       <address type="usb" bus="0" port="5"/>
  187.     </hostdev>
  188.     <redirdev bus="usb" type="spicevmc">
  189.       <address type="usb" bus="0" port="2"/>
  190.     </redirdev>
  191.     <redirdev bus="usb" type="spicevmc">
  192.       <address type="usb" bus="0" port="3"/>
  193.     </redirdev>
  194.     <memballoon model="virtio">
  195.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  196.     </memballoon>
  197.   </devices>
  198. </domain>
  199.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement