Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.57 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.     </hyperv>
  26.     <vmport state="off"/>
  27.   </features>
  28.   <cpu mode="host-model" check="partial">
  29.     <model fallback="allow"/>
  30.   </cpu>
  31.   <clock offset="localtime">
  32.     <timer name="rtc" tickpolicy="catchup"/>
  33.     <timer name="pit" tickpolicy="delay"/>
  34.     <timer name="hpet" present="no"/>
  35.     <timer name="hypervclock" present="yes"/>
  36.   </clock>
  37.   <on_poweroff>destroy</on_poweroff>
  38.   <on_reboot>restart</on_reboot>
  39.   <on_crash>destroy</on_crash>
  40.   <pm>
  41.     <suspend-to-mem enabled="no"/>
  42.     <suspend-to-disk enabled="no"/>
  43.   </pm>
  44.   <devices>
  45.     <emulator>/usr/local/bin/qemu4.1-system-x86_64</emulator>
  46.     <disk type="file" device="disk">
  47.       <driver name="qemu" type="qcow2"/>
  48.       <source file="/var/lib/libvirt/images/win10-3.qcow2"/>
  49.       <target dev="sda" bus="sata"/>
  50.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  51.     </disk>
  52.     <disk type="file" device="cdrom">
  53.       <driver name="qemu" type="raw"/>
  54.       <source file="/home/lz/Downloads/Win10_1909_EnglishInternational_x64.iso"/>
  55.       <target dev="sdb" bus="sata"/>
  56.       <readonly/>
  57.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  58.     </disk>
  59.     <disk type="file" device="disk">
  60.       <driver name="qemu" type="qcow2"/>
  61.       <source file="/var/lib/libvirt/images/win10-3-1.qcow2"/>
  62.       <target dev="sdc" bus="sata"/>
  63.       <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  64.     </disk>
  65.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  66.       <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
  67.     </controller>
  68.     <controller type="pci" index="0" model="pci-root"/>
  69.     <controller type="sata" index="0">
  70.       <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
  71.     </controller>
  72.     <controller type="virtio-serial" index="0">
  73.       <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
  74.     </controller>
  75.     <interface type="network">
  76.       <mac address="52:54:00:a6:04:c5"/>
  77.       <source network="default"/>
  78.       <model type="e1000e"/>
  79.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  80.     </interface>
  81.     <serial type="pty">
  82.       <target type="isa-serial" port="0">
  83.         <model name="isa-serial"/>
  84.       </target>
  85.     </serial>
  86.     <console type="pty">
  87.       <target type="serial" port="0"/>
  88.     </console>
  89.     <channel type="spicevmc">
  90.       <target type="virtio" name="com.redhat.spice.0"/>
  91.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  92.     </channel>
  93.     <input type="tablet" bus="usb">
  94.       <address type="usb" bus="0" port="1"/>
  95.     </input>
  96.     <input type="mouse" bus="ps2"/>
  97.     <input type="keyboard" bus="ps2"/>
  98.     <graphics type="spice" autoport="yes">
  99.       <listen type="address"/>
  100.       <image compression="off"/>
  101.     </graphics>
  102.     <sound model="ich9">
  103.       <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
  104.     </sound>
  105.     <video>
  106.       <model type="virtio" heads="1" primary="yes"/>
  107.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  108.     </video>
  109.     <hostdev mode="subsystem" type="pci" managed="yes">
  110.       <source>
  111.         <address domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  112.       </source>
  113.       <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
  114.     </hostdev>
  115.     <redirdev bus="usb" type="spicevmc">
  116.       <address type="usb" bus="0" port="2"/>
  117.     </redirdev>
  118.     <redirdev bus="usb" type="spicevmc">
  119.       <address type="usb" bus="0" port="3"/>
  120.     </redirdev>
  121.     <memballoon model="virtio">
  122.       <address type="pci" domain="0x0000" bus="0x00" slot="0x09" function="0x0"/>
  123.     </memballoon>
  124.   </devices>
  125. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement