Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.69 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10-3</name>
  3.   <uuid>64c73689-385b-4a1a-a5ae-10eda08683d7</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">8704000</memory>
  10.   <currentMemory unit="KiB">8704000</currentMemory>
  11.   <vcpu placement="static">9</vcpu>
  12.   <os>
  13.     <type arch="x86_64" machine="pc-i440fx-4.0">hvm</type>
  14.     <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/win10-3_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="12345"/>
  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/local/bin/qemu4.1-system-x86_64</emulator>
  51.     <disk type="file" device="disk">
  52.       <driver name="qemu" type="qcow2"/>
  53.       <source file="/var/lib/libvirt/images/win10-3.qcow2"/>
  54.       <target dev="sda" bus="sata"/>
  55.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  56.     </disk>
  57.     <disk type="file" device="cdrom">
  58.       <driver name="qemu" type="raw"/>
  59.       <source file="/home/lz/Downloads/Win10_1909_EnglishInternational_x64.iso"/>
  60.       <target dev="sdb" bus="sata"/>
  61.       <readonly/>
  62.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  63.     </disk>
  64.     <disk type="file" device="disk">
  65.       <driver name="qemu" type="qcow2"/>
  66.       <source file="/var/lib/libvirt/images/win10-3-1.qcow2"/>
  67.       <target dev="sdc" bus="sata"/>
  68.       <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  69.     </disk>
  70.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  71.       <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
  72.     </controller>
  73.     <controller type="pci" index="0" model="pci-root"/>
  74.     <controller type="sata" index="0">
  75.       <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
  76.     </controller>
  77.     <controller type="virtio-serial" index="0">
  78.       <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
  79.     </controller>
  80.     <interface type="network">
  81.       <mac address="52:54:00:a6:04:c5"/>
  82.       <source network="default"/>
  83.       <model type="e1000e"/>
  84.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  85.     </interface>
  86.     <serial type="pty">
  87.       <target type="isa-serial" port="0">
  88.         <model name="isa-serial"/>
  89.       </target>
  90.     </serial>
  91.     <console type="pty">
  92.       <target type="serial" port="0"/>
  93.     </console>
  94.     <channel type="spicevmc">
  95.       <target type="virtio" name="com.redhat.spice.0"/>
  96.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  97.     </channel>
  98.     <input type="tablet" bus="usb">
  99.       <address type="usb" bus="0" port="1"/>
  100.     </input>
  101.     <input type="mouse" bus="ps2"/>
  102.     <input type="keyboard" bus="ps2"/>
  103.     <graphics type="spice" autoport="yes">
  104.       <listen type="address"/>
  105.       <image compression="off"/>
  106.     </graphics>
  107.     <sound model="ich9">
  108.       <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
  109.     </sound>
  110.     <video>
  111.       <model type="virtio" heads="1" primary="yes"/>
  112.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  113.     </video>
  114.     <hostdev mode="subsystem" type="pci" managed="yes">
  115.       <source>
  116.         <address domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  117.       </source>
  118.       <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
  119.     </hostdev>
  120.     <redirdev bus="usb" type="spicevmc">
  121.       <address type="usb" bus="0" port="2"/>
  122.     </redirdev>
  123.     <redirdev bus="usb" type="spicevmc">
  124.       <address type="usb" bus="0" port="3"/>
  125.     </redirdev>
  126.     <memballoon model="virtio">
  127.       <address type="pci" domain="0x0000" bus="0x00" slot="0x09" function="0x0"/>
  128.     </memballoon>
  129.   </devices>
  130. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement