Advertisement
notaduck

Untitled

Jul 29th, 2019
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.44 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>58436239-61b2-40d2-805e-91c72e825fd7</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">8388608</memory>
  10.   <currentMemory unit="KiB">8388608</currentMemory>
  11.   <vcpu placement="static">4</vcpu>
  12.   <os>
  13.     <type arch="x86_64" machine="pc-q35-4.0">hvm</type>
  14.     <boot dev="hd"/>
  15.   </os>
  16.   <features>
  17.     <acpi/>
  18.     <apic/>
  19.     <hyperv>
  20.       <relaxed state="on"/>
  21.       <vapic state="on"/>
  22.       <spinlocks state="on" retries="8191"/>
  23.     </hyperv>
  24.     <vmport state="off"/>
  25.   </features>
  26.   <cpu mode="host-model" check="partial">
  27.     <model fallback="allow"/>
  28.     <topology sockets="1" cores="4" threads="1"/>
  29.   </cpu>
  30.   <clock offset="localtime">
  31.     <timer name="rtc" tickpolicy="catchup"/>
  32.     <timer name="pit" tickpolicy="delay"/>
  33.     <timer name="hpet" present="no"/>
  34.     <timer name="hypervclock" present="yes"/>
  35.   </clock>
  36.   <on_poweroff>destroy</on_poweroff>
  37.   <on_reboot>restart</on_reboot>
  38.   <on_crash>destroy</on_crash>
  39.   <pm>
  40.     <suspend-to-mem enabled="no"/>
  41.     <suspend-to-disk enabled="no"/>
  42.   </pm>
  43.   <devices>
  44.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  45.     <disk type="file" device="disk">
  46.       <driver name="qemu" type="raw" cache="writeback"/>
  47.       <source file="/var/lib/libvirt/images/pool-1/win10.img"/>
  48.       <target dev="vda" bus="virtio"/>
  49.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  50.     </disk>
  51.     <disk type="file" device="cdrom">
  52.       <driver name="qemu" type="raw"/>
  53.       <source file="/home/daniel/Downloads/Win10_1903_V1_English_x64.iso"/>
  54.       <target dev="sdb" bus="sata"/>
  55.       <readonly/>
  56.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  57.     </disk>
  58.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  59.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  60.     </controller>
  61.     <controller type="sata" index="0">
  62.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  63.     </controller>
  64.     <controller type="pci" index="0" model="pcie-root"/>
  65.     <controller type="pci" index="1" model="pcie-root-port">
  66.       <model name="pcie-root-port"/>
  67.       <target chassis="1" port="0x10"/>
  68.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  69.     </controller>
  70.     <controller type="pci" index="2" model="pcie-root-port">
  71.       <model name="pcie-root-port"/>
  72.       <target chassis="2" port="0x11"/>
  73.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  74.     </controller>
  75.     <controller type="pci" index="3" model="pcie-root-port">
  76.       <model name="pcie-root-port"/>
  77.       <target chassis="3" port="0x12"/>
  78.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  79.     </controller>
  80.     <controller type="pci" index="4" model="pcie-root-port">
  81.       <model name="pcie-root-port"/>
  82.       <target chassis="4" port="0x13"/>
  83.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  84.     </controller>
  85.     <controller type="pci" index="5" model="pcie-root-port">
  86.       <model name="pcie-root-port"/>
  87.       <target chassis="5" port="0x14"/>
  88.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  89.     </controller>
  90.     <controller type="pci" index="6" model="pcie-root-port">
  91.       <model name="pcie-root-port"/>
  92.       <target chassis="6" port="0x15"/>
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  94.     </controller>
  95.     <controller type="virtio-serial" index="0">
  96.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  97.     </controller>
  98.     <interface type="network">
  99.       <mac address="52:54:00:40:09:f5"/>
  100.       <source network="default"/>
  101.       <model type="virtio"/>
  102.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  103.     </interface>
  104.     <serial type="pty">
  105.       <target type="isa-serial" port="0">
  106.         <model name="isa-serial"/>
  107.       </target>
  108.     </serial>
  109.     <console type="pty">
  110.       <target type="serial" port="0"/>
  111.     </console>
  112.     <channel type="spicevmc">
  113.       <target type="virtio" name="com.redhat.spice.0"/>
  114.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  115.     </channel>
  116.     <input type="tablet" bus="usb">
  117.       <address type="usb" bus="0" port="1"/>
  118.     </input>
  119.     <input type="mouse" bus="ps2"/>
  120.     <input type="keyboard" bus="ps2"/>
  121.     <graphics type="spice" autoport="yes">
  122.       <listen type="address"/>
  123.       <image compression="off"/>
  124.     </graphics>
  125.     <sound model="ich9">
  126.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  127.     </sound>
  128.     <video>
  129.       <model type="qxl" ram="65536" vram="65536" vgamem="65536" heads="1" primary="yes"/>
  130.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  131.     </video>
  132.     <redirdev bus="usb" type="spicevmc">
  133.       <address type="usb" bus="0" port="2"/>
  134.     </redirdev>
  135.     <redirdev bus="usb" type="spicevmc">
  136.       <address type="usb" bus="0" port="3"/>
  137.     </redirdev>
  138.     <memballoon model="virtio">
  139.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  140.     </memballoon>
  141.   </devices>
  142. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement