Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.03 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10-2</name>
  3.   <uuid>45d5109c-e312-4a2e-8a6e-ab423a2ba026</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">12288000</memory>
  10.   <currentMemory unit="KiB">12288000</currentMemory>
  11.   <vcpu placement="static">4</vcpu>
  12.   <os>
  13.     <type arch="x86_64" machine="pc-q35-4.1">hvm</type>
  14.     <loader readonly="yes" type="pflash">/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/win10-2_VARS.fd</nvram>
  16.     <boot dev="hd"/>
  17.   </os>
  18.   <features>
  19.     <acpi/>
  20.     <apic/>
  21.     <hyperv>
  22.       <relaxed state="on"/>
  23.       <vapic state="on"/>
  24.       <spinlocks state="on" retries="8191"/>
  25.       <vendor_id state="on" value="123456789ab"/>
  26.     </hyperv>
  27.     <kvm>
  28.       <hidden state="on"/>
  29.     </kvm>
  30.     <vmport state="off"/>
  31.     <ioapic driver="kvm"/>
  32.   </features>
  33.   <cpu mode="host-model" check="partial">
  34.     <model fallback="allow"/>
  35.   </cpu>
  36.   <clock offset="localtime">
  37.     <timer name="rtc" tickpolicy="catchup"/>
  38.     <timer name="pit" tickpolicy="delay"/>
  39.     <timer name="hpet" present="no"/>
  40.     <timer name="hypervclock" present="yes"/>
  41.   </clock>
  42.   <on_poweroff>destroy</on_poweroff>
  43.   <on_reboot>restart</on_reboot>
  44.   <on_crash>destroy</on_crash>
  45.   <pm>
  46.     <suspend-to-mem enabled="no"/>
  47.     <suspend-to-disk enabled="no"/>
  48.   </pm>
  49.   <devices>
  50.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  51.     <disk type="file" device="disk">
  52.       <driver name="qemu" type="raw"/>
  53.       <source file="/home/thejacer87/extra/win10-2.img"/>
  54.       <target dev="sda" bus="sata"/>
  55.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  56.     </disk>
  57.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  58.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  59.     </controller>
  60.     <controller type="sata" index="0">
  61.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  62.     </controller>
  63.     <controller type="pci" index="0" model="pcie-root"/>
  64.     <controller type="pci" index="1" model="pcie-root-port">
  65.       <model name="pcie-root-port"/>
  66.       <target chassis="1" port="0x10"/>
  67.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  68.     </controller>
  69.     <controller type="pci" index="2" model="pcie-root-port">
  70.       <model name="pcie-root-port"/>
  71.       <target chassis="2" port="0x11"/>
  72.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  73.     </controller>
  74.     <controller type="pci" index="3" model="pcie-root-port">
  75.       <model name="pcie-root-port"/>
  76.       <target chassis="3" port="0x12"/>
  77.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  78.     </controller>
  79.     <controller type="pci" index="4" model="pcie-root-port">
  80.       <model name="pcie-root-port"/>
  81.       <target chassis="4" port="0x13"/>
  82.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  83.     </controller>
  84.     <controller type="pci" index="5" model="pcie-root-port">
  85.       <model name="pcie-root-port"/>
  86.       <target chassis="5" port="0x14"/>
  87.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  88.     </controller>
  89.     <controller type="pci" index="6" model="pcie-root-port">
  90.       <model name="pcie-root-port"/>
  91.       <target chassis="6" port="0x15"/>
  92.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  93.     </controller>
  94.     <controller type="pci" index="7" model="pcie-root-port">
  95.       <model name="pcie-root-port"/>
  96.       <target chassis="7" port="0x16"/>
  97.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  98.     </controller>
  99.     <controller type="pci" index="8" model="pcie-root-port">
  100.       <model name="pcie-root-port"/>
  101.       <target chassis="8" port="0x17"/>
  102.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  103.     </controller>
  104.     <controller type="virtio-serial" index="0">
  105.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  106.     </controller>
  107.     <interface type="network">
  108.       <mac address="52:54:00:60:15:bc"/>
  109.       <source network="default"/>
  110.       <model type="e1000e"/>
  111.       <link state="up"/>
  112.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  113.     </interface>
  114.     <serial type="pty">
  115.       <target type="isa-serial" port="0">
  116.         <model name="isa-serial"/>
  117.       </target>
  118.     </serial>
  119.     <console type="pty">
  120.       <target type="serial" port="0"/>
  121.     </console>
  122.     <input type="mouse" bus="ps2"/>
  123.     <input type="keyboard" bus="ps2"/>
  124.     <sound model="ich9">
  125.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  126.     </sound>
  127.     <hostdev mode="subsystem" type="pci" managed="yes">
  128.       <source>
  129.         <address domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  130.       </source>
  131.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  132.     </hostdev>
  133.     <hostdev mode="subsystem" type="pci" managed="yes">
  134.       <source>
  135.         <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  136.       </source>
  137.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  138.     </hostdev>
  139.     <hostdev mode="subsystem" type="pci" managed="yes">
  140.       <source>
  141.         <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  142.       </source>
  143.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  144.     </hostdev>
  145.     <redirdev bus="usb" type="spicevmc">
  146.       <address type="usb" bus="0" port="2"/>
  147.     </redirdev>
  148.     <redirdev bus="usb" type="spicevmc">
  149.       <address type="usb" bus="0" port="3"/>
  150.     </redirdev>
  151.     <memballoon model="virtio">
  152.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  153.     </memballoon>
  154.   </devices>
  155. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement