Advertisement
Guest User

Untitled

a guest
Feb 5th, 2023
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.58 KB | Source Code | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>d8188324-1991-4984-a3fc-eb51f70b1459</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">32768000</memory>
  10.   <currentMemory unit="KiB">32768000</currentMemory>
  11.   <memoryBacking>
  12.     <nosharepages/>
  13.   </memoryBacking>
  14.   <vcpu placement="static">12</vcpu>
  15.   <os>
  16.     <type arch="x86_64" machine="pc-q35-7.2">hvm</type>
  17.     <loader readonly="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.4m.fd</loader>
  18.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  19.   </os>
  20.   <features>
  21.     <acpi/>
  22.     <apic/>
  23.     <hyperv mode="custom">
  24.       <relaxed state="on"/>
  25.       <vapic state="on"/>
  26.       <spinlocks state="on" retries="8191"/>
  27.       <vpindex state="on"/>
  28.       <runtime state="on"/>
  29.       <synic state="on"/>
  30.       <stimer state="on">
  31.         <direct state="on"/>
  32.       </stimer>
  33.       <reset state="on"/>
  34.       <vendor_id state="on" value="0123456789ab"/>
  35.       <frequencies state="on"/>
  36.       <reenlightenment state="on"/>
  37.       <tlbflush state="on"/>
  38.       <ipi state="on"/>
  39.       <evmcs state="off"/>
  40.     </hyperv>
  41.     <kvm>
  42.       <hidden state="on"/>
  43.     </kvm>
  44.     <vmport state="off"/>
  45.     <ioapic driver="kvm"/>
  46.   </features>
  47.   <cpu mode="custom" match="exact" check="none">
  48.     <model fallback="allow">EPYC-IBPB</model>
  49.     <topology sockets="1" dies="1" cores="6" threads="2"/>
  50.     <feature policy="require" name="topoext"/>
  51.   </cpu>
  52.   <clock offset="localtime">
  53.     <timer name="rtc" tickpolicy="catchup"/>
  54.     <timer name="pit" tickpolicy="delay"/>
  55.     <timer name="hpet" present="no"/>
  56.     <timer name="hypervclock" present="yes"/>
  57.   </clock>
  58.   <on_poweroff>destroy</on_poweroff>
  59.   <on_reboot>restart</on_reboot>
  60.   <on_crash>destroy</on_crash>
  61.   <pm>
  62.     <suspend-to-mem enabled="no"/>
  63.     <suspend-to-disk enabled="no"/>
  64.   </pm>
  65.   <devices>
  66.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  67.     <disk type="file" device="disk">
  68.       <driver name="qemu" type="qcow2"/>
  69.       <source file="/var/lib/libvirt/images/win10.qcow2"/>
  70.       <target dev="vda" bus="virtio"/>
  71.       <boot order="1"/>
  72.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  73.     </disk>
  74.     <disk type="file" device="cdrom">
  75.       <driver name="qemu" type="raw"/>
  76.       <source file="/media/Data_server/ISOs/ubuntu-20.04.1-desktop-amd64.iso"/>
  77.       <target dev="sda" bus="sata"/>
  78.       <readonly/>
  79.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  80.     </disk>
  81.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  82.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  83.     </controller>
  84.     <controller type="pci" index="0" model="pcie-root"/>
  85.     <controller type="pci" index="1" model="pcie-root-port">
  86.       <model name="pcie-root-port"/>
  87.       <target chassis="1" port="0x10"/>
  88.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  89.     </controller>
  90.     <controller type="pci" index="2" model="pcie-root-port">
  91.       <model name="pcie-root-port"/>
  92.       <target chassis="2" port="0x11"/>
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  94.     </controller>
  95.     <controller type="pci" index="3" model="pcie-root-port">
  96.       <model name="pcie-root-port"/>
  97.       <target chassis="3" port="0x12"/>
  98.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  99.     </controller>
  100.     <controller type="pci" index="4" model="pcie-root-port">
  101.       <model name="pcie-root-port"/>
  102.       <target chassis="4" port="0x13"/>
  103.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  104.     </controller>
  105.     <controller type="pci" index="5" model="pcie-root-port">
  106.       <model name="pcie-root-port"/>
  107.       <target chassis="5" port="0x14"/>
  108.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  109.     </controller>
  110.     <controller type="pci" index="6" model="pcie-root-port">
  111.       <model name="pcie-root-port"/>
  112.       <target chassis="6" port="0x15"/>
  113.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  114.     </controller>
  115.     <controller type="pci" index="7" model="pcie-root-port">
  116.       <model name="pcie-root-port"/>
  117.       <target chassis="7" port="0x16"/>
  118.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  119.     </controller>
  120.     <controller type="pci" index="8" model="pcie-root-port">
  121.       <model name="pcie-root-port"/>
  122.       <target chassis="8" port="0x17"/>
  123.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  124.     </controller>
  125.     <controller type="pci" index="9" model="pcie-root-port">
  126.       <model name="pcie-root-port"/>
  127.       <target chassis="9" port="0x18"/>
  128.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  129.     </controller>
  130.     <controller type="pci" index="10" model="pcie-root-port">
  131.       <model name="pcie-root-port"/>
  132.       <target chassis="10" port="0x19"/>
  133.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  134.     </controller>
  135.     <controller type="pci" index="11" model="pcie-root-port">
  136.       <model name="pcie-root-port"/>
  137.       <target chassis="11" port="0x1a"/>
  138.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  139.     </controller>
  140.     <controller type="pci" index="12" model="pcie-root-port">
  141.       <model name="pcie-root-port"/>
  142.       <target chassis="12" port="0x1b"/>
  143.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  144.     </controller>
  145.     <controller type="pci" index="13" model="pcie-root-port">
  146.       <model name="pcie-root-port"/>
  147.       <target chassis="13" port="0x1c"/>
  148.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  149.     </controller>
  150.     <controller type="pci" index="14" model="pcie-root-port">
  151.       <model name="pcie-root-port"/>
  152.       <target chassis="14" port="0x1d"/>
  153.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  154.     </controller>
  155.     <controller type="sata" index="0">
  156.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  157.     </controller>
  158.     <controller type="virtio-serial" index="0">
  159.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  160.     </controller>
  161.     <interface type="network">
  162.       <mac address="52:54:00:ac:7d:8a"/>
  163.       <source network="default"/>
  164.       <model type="virtio"/>
  165.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  166.     </interface>
  167.     <serial type="pty">
  168.       <target type="isa-serial" port="0">
  169.         <model name="isa-serial"/>
  170.       </target>
  171.     </serial>
  172.     <console type="pty">
  173.       <target type="serial" port="0"/>
  174.     </console>
  175.     <channel type="spicevmc">
  176.       <target type="virtio" name="com.redhat.spice.0"/>
  177.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  178.     </channel>
  179.     <input type="tablet" bus="usb">
  180.       <address type="usb" bus="0" port="1"/>
  181.     </input>
  182.     <input type="mouse" bus="ps2"/>
  183.     <input type="keyboard" bus="ps2"/>
  184.     <graphics type="spice" autoport="yes">
  185.       <listen type="address"/>
  186.       <image compression="off"/>
  187.     </graphics>
  188.     <sound model="ich9">
  189.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  190.     </sound>
  191.     <audio id="1" type="spice"/>
  192.     <video>
  193.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  194.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  195.     </video>
  196.     <hostdev mode="subsystem" type="pci" managed="yes">
  197.       <source>
  198.         <address domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
  199.       </source>
  200.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0" multifunction="on"/>
  201.     </hostdev>
  202.     <hostdev mode="subsystem" type="pci" managed="yes">
  203.       <source>
  204.         <address domain="0x0000" bus="0x0c" slot="0x00" function="0x1"/>
  205.       </source>
  206.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x1"/>
  207.     </hostdev>
  208.     <redirdev bus="usb" type="spicevmc">
  209.       <address type="usb" bus="0" port="2"/>
  210.     </redirdev>
  211.     <redirdev bus="usb" type="spicevmc">
  212.       <address type="usb" bus="0" port="3"/>
  213.     </redirdev>
  214.     <memballoon model="none"/>
  215.   </devices>
  216. </domain>
  217.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement