Advertisement
Guest User

Untitled

a guest
Oct 14th, 2021
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.74 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10-work</name>
  3.   <uuid>d10bb299....</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">16777216</memory>
  10.   <currentMemory unit="KiB">16777216</currentMemory>
  11.   <vcpu placement="static">4</vcpu>
  12.   <cputune>
  13.     <vcpupin vcpu="0" cpuset="2"/>
  14.     <vcpupin vcpu="1" cpuset="14"/>
  15.     <vcpupin vcpu="2" cpuset="3"/>
  16.     <vcpupin vcpu="3" cpuset="15"/>
  17.   </cputune>
  18.   <os>
  19.     <type arch="x86_64" machine="pc-q35-6.0">hvm</type>
  20.     <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  21.     <nvram>/var/lib/libvirt/qemu/nvram/win10-autoaddress_VARS.fd</nvram>
  22.   </os>
  23.   <features>
  24.     <acpi/>
  25.     <apic/>
  26.     <hyperv>
  27.       <relaxed state="on"/>
  28.       <vapic state="on"/>
  29.       <spinlocks state="on" retries="8191"/>
  30.     </hyperv>
  31.     <vmport state="off"/>
  32.   </features>
  33.   <cpu mode="host-model" check="partial">
  34.     <topology sockets="1" dies="1" cores="2" threads="2"/>
  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="yes"/>
  48.   </pm>
  49.   <devices>
  50.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  51.     <disk type="file" device="cdrom">
  52.       <driver name="qemu" type="raw"/>
  53.       <source file="/home/username/Downloads/Linux/virtio-win-0.1.185.iso"/>
  54.       <target dev="sda" bus="sata"/>
  55.       <readonly/>
  56.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  57.     </disk>
  58.     <disk type="file" device="disk">
  59.       <driver name="qemu" type="qcow2"/>
  60.       <source file="/home/username/VirtualMachines/win10-work-virt-disk.qcow2"/>
  61.       <target dev="sdb" bus="sata"/>
  62.       <boot order="1"/>
  63.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  64.     </disk>
  65.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  66.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  67.     </controller>
  68.     <controller type="sata" index="0">
  69.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  70.     </controller>
  71.     <controller type="pci" index="0" model="pcie-root"/>
  72.     <controller type="pci" index="1" model="pcie-root-port">
  73.       <model name="pcie-root-port"/>
  74.       <target chassis="1" port="0x10"/>
  75.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  76.     </controller>
  77.     <controller type="pci" index="2" model="pcie-root-port">
  78.       <model name="pcie-root-port"/>
  79.       <target chassis="2" port="0x11"/>
  80.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  81.     </controller>
  82.     <controller type="pci" index="3" model="pcie-root-port">
  83.       <model name="pcie-root-port"/>
  84.       <target chassis="3" port="0x12"/>
  85.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  86.     </controller>
  87.     <controller type="pci" index="4" model="pcie-root-port">
  88.       <model name="pcie-root-port"/>
  89.       <target chassis="4" port="0x13"/>
  90.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  91.     </controller>
  92.     <controller type="pci" index="5" model="pcie-root-port">
  93.       <model name="pcie-root-port"/>
  94.       <target chassis="5" port="0x14"/>
  95.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  96.     </controller>
  97.     <controller type="virtio-serial" index="0">
  98.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  99.     </controller>
  100.     <interface type="network">
  101.       <mac address="52:54:00:6b:44:3a"/>
  102.       <source network="default"/>
  103.       <model type="e1000e"/>
  104.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  105.     </interface>
  106.     <serial type="pty">
  107.       <target type="isa-serial" port="0">
  108.         <model name="isa-serial"/>
  109.       </target>
  110.     </serial>
  111.     <console type="pty">
  112.       <target type="serial" port="0"/>
  113.     </console>
  114.     <channel type="spicevmc">
  115.       <target type="virtio" name="com.redhat.spice.0"/>
  116.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  117.     </channel>
  118.     <input type="mouse" bus="ps2"/>
  119.     <input type="keyboard" bus="ps2"/>
  120.     <input type="tablet" bus="usb">
  121.       <address type="usb" bus="0" port="3"/>
  122.     </input>
  123.     <graphics type="spice" autoport="yes">
  124.       <listen type="address"/>
  125.       <image compression="off"/>
  126.     </graphics>
  127.     <sound model="ich9">
  128.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  129.     </sound>
  130.     <audio id="1" type="spice"/>
  131.     <video>
  132.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  133.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  134.     </video>
  135.     <hostdev mode="subsystem" type="usb" managed="yes">
  136.       <source>
  137.         <vendor id="0x046d"/>
  138.         <product id="0x082d"/>
  139.       </source>
  140.       <address type="usb" bus="0" port="4"/>
  141.     </hostdev>
  142.     <redirdev bus="usb" type="spicevmc">
  143.       <address type="usb" bus="0" port="1"/>
  144.     </redirdev>
  145.     <redirdev bus="usb" type="spicevmc">
  146.       <address type="usb" bus="0" port="2"/>
  147.     </redirdev>
  148.     <memballoon model="virtio">
  149.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  150.     </memballoon>
  151.   </devices>
  152. </domain>
  153.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement