Advertisement
Guest User

win10.xml

a guest
Jan 11th, 2023
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.94 KB | Software | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>12313988-1239123-123213-123213131231</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/11"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit="KiB">50331648</memory>
  10.   <currentMemory unit="KiB">50331648</currentMemory>
  11.   <memoryBacking>
  12.     <hugepages/>
  13.   </memoryBacking>
  14.   <vcpu placement="static">14</vcpu>
  15.   <iothreads>1</iothreads>
  16.   <cputune>
  17.     <vcpupin vcpu="0" cpuset="1"/>
  18.     <vcpupin vcpu="1" cpuset="9"/>
  19.     <vcpupin vcpu="2" cpuset="2"/>
  20.     <vcpupin vcpu="3" cpuset="10"/>
  21.     <vcpupin vcpu="4" cpuset="3"/>
  22.     <vcpupin vcpu="5" cpuset="11"/>
  23.     <vcpupin vcpu="6" cpuset="4"/>
  24.     <vcpupin vcpu="7" cpuset="12"/>
  25.     <vcpupin vcpu="8" cpuset="5"/>
  26.     <vcpupin vcpu="9" cpuset="13"/>
  27.     <vcpupin vcpu="10" cpuset="6"/>
  28.     <vcpupin vcpu="11" cpuset="14"/>
  29.     <vcpupin vcpu="12" cpuset="7"/>
  30.     <vcpupin vcpu="13" cpuset="15"/>
  31.     <emulatorpin cpuset="0-8"/>
  32.     <iothreadpin iothread="1" cpuset="0-8"/>
  33.   </cputune>
  34.   <os>
  35.     <type arch="x86_64" machine="pc-q35-7.2">hvm</type>
  36.     <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.secboot.fd</loader>
  37.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  38.   </os>
  39.   <features>
  40.     <acpi/>
  41.     <apic/>
  42.     <hyperv mode="custom">
  43.       <relaxed state="on"/>
  44.       <vapic state="on"/>
  45.       <spinlocks state="on" retries="8191"/>
  46.       <vpindex state="on"/>
  47.       <runtime state="on"/>
  48.       <synic state="on"/>
  49.       <stimer state="on"/>
  50.       <reset state="on"/>
  51.       <vendor_id state="on" value="randomid"/>
  52.       <frequencies state="on"/>
  53.     </hyperv>
  54.     <kvm>
  55.       <hidden state="on"/>
  56.     </kvm>
  57.     <vmport state="off"/>
  58.     <smm state="on"/>
  59.   </features>
  60.   <cpu mode="host-passthrough" check="none" migratable="off">
  61.     <topology sockets="1" dies="1" cores="7" threads="2"/>
  62.     <cache mode="passthrough"/>
  63.     <feature policy="require" name="topoext"/>
  64.     <feature policy="disable" name="hypervisor"/>
  65.   </cpu>
  66.   <clock offset="localtime">
  67.     <timer name="rtc" tickpolicy="catchup"/>
  68.     <timer name="pit" tickpolicy="delay"/>
  69.     <timer name="hpet" present="no"/>
  70.     <timer name="hypervclock" present="yes"/>
  71.   </clock>
  72.   <on_poweroff>destroy</on_poweroff>
  73.   <on_reboot>restart</on_reboot>
  74.   <on_crash>destroy</on_crash>
  75.   <pm>
  76.     <suspend-to-mem enabled="no"/>
  77.     <suspend-to-disk enabled="no"/>
  78.   </pm>
  79.   <devices>
  80.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  81.     <disk type="file" device="disk">
  82.       <driver name="qemu" type="qcow2" cache="writeback" discard="unmap"/>
  83.       <source file="/var/lib/libvirt/images/win10.qcow2"/>
  84.       <target dev="vda" bus="virtio"/>
  85.       <boot order="1"/>
  86.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  87.     </disk>
  88.     <disk type="file" device="cdrom">
  89.       <driver name="qemu" type="raw"/>
  90.       <source file="/home/User/Downloads/Win11_22H2_English_x64v1.iso"/>
  91.       <target dev="sdb" bus="sata"/>
  92.       <readonly/>
  93.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  94.     </disk>
  95.     <disk type="file" device="cdrom">
  96.       <driver name="qemu" type="raw"/>
  97.       <source file="/home/User/Downloads/virtio-win-0.1.225.iso"/>
  98.       <target dev="sdc" bus="sata"/>
  99.       <readonly/>
  100.       <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  101.     </disk>
  102.     <disk type="block" device="disk">
  103.       <driver name="qemu" type="raw" cache="none" io="native" discard="unmap"/>
  104.       <source dev="/dev/sda"/>
  105.       <target dev="sdd" bus="sata"/>
  106.       <address type="drive" controller="0" bus="0" target="0" unit="3"/>
  107.     </disk>
  108.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  109.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  110.     </controller>
  111.     <controller type="pci" index="0" model="pcie-root"/>
  112.     <controller type="pci" index="1" model="pcie-root-port">
  113.       <model name="pcie-root-port"/>
  114.       <target chassis="1" port="0x10"/>
  115.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  116.     </controller>
  117.     <controller type="pci" index="2" model="pcie-root-port">
  118.       <model name="pcie-root-port"/>
  119.       <target chassis="2" port="0x11"/>
  120.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  121.     </controller>
  122.     <controller type="pci" index="3" model="pcie-root-port">
  123.       <model name="pcie-root-port"/>
  124.       <target chassis="3" port="0x12"/>
  125.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  126.     </controller>
  127.     <controller type="pci" index="4" model="pcie-root-port">
  128.       <model name="pcie-root-port"/>
  129.       <target chassis="4" port="0x13"/>
  130.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  131.     </controller>
  132.     <controller type="pci" index="5" model="pcie-root-port">
  133.       <model name="pcie-root-port"/>
  134.       <target chassis="5" port="0x14"/>
  135.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  136.     </controller>
  137.     <controller type="pci" index="6" model="pcie-root-port">
  138.       <model name="pcie-root-port"/>
  139.       <target chassis="6" port="0x15"/>
  140.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  141.     </controller>
  142.     <controller type="pci" index="7" model="pcie-root-port">
  143.       <model name="pcie-root-port"/>
  144.       <target chassis="7" port="0x16"/>
  145.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  146.     </controller>
  147.     <controller type="pci" index="8" model="pcie-root-port">
  148.       <model name="pcie-root-port"/>
  149.       <target chassis="8" port="0x17"/>
  150.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  151.     </controller>
  152.     <controller type="pci" index="9" model="pcie-root-port">
  153.       <model name="pcie-root-port"/>
  154.       <target chassis="9" port="0x18"/>
  155.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  156.     </controller>
  157.     <controller type="pci" index="10" model="pcie-root-port">
  158.       <model name="pcie-root-port"/>
  159.       <target chassis="10" port="0x19"/>
  160.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  161.     </controller>
  162.     <controller type="pci" index="11" model="pcie-root-port">
  163.       <model name="pcie-root-port"/>
  164.       <target chassis="11" port="0x1a"/>
  165.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  166.     </controller>
  167.     <controller type="pci" index="12" model="pcie-root-port">
  168.       <model name="pcie-root-port"/>
  169.       <target chassis="12" port="0x1b"/>
  170.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  171.     </controller>
  172.     <controller type="pci" index="13" model="pcie-root-port">
  173.       <model name="pcie-root-port"/>
  174.       <target chassis="13" port="0x1c"/>
  175.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  176.     </controller>
  177.     <controller type="pci" index="14" model="pcie-root-port">
  178.       <model name="pcie-root-port"/>
  179.       <target chassis="14" port="0x1d"/>
  180.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  181.     </controller>
  182.     <controller type="sata" index="0">
  183.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  184.     </controller>
  185.     <controller type="virtio-serial" index="0">
  186.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  187.     </controller>
  188.     <interface type="network">
  189.       <mac address="52:54:00:f7:27:da"/>
  190.       <source network="default"/>
  191.       <model type="e1000e"/>
  192.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  193.     </interface>
  194.     <serial type="pty">
  195.       <target type="isa-serial" port="0">
  196.         <model name="isa-serial"/>
  197.       </target>
  198.     </serial>
  199.     <console type="pty">
  200.       <target type="serial" port="0"/>
  201.     </console>
  202.     <input type="tablet" bus="usb">
  203.       <address type="usb" bus="0" port="1"/>
  204.     </input>
  205.     <input type="mouse" bus="ps2"/>
  206.     <input type="keyboard" bus="ps2"/>
  207.     <input type="keyboard" bus="virtio">
  208.       <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/>
  209.     </input>
  210.     <tpm model="tpm-tis">
  211.       <backend type="passthrough">
  212.         <device path="/dev/tpm0"/>
  213.       </backend>
  214.     </tpm>
  215.     <sound model="ich9">
  216.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  217.     </sound>
  218.     <audio id="1" type="none"/>
  219.     <hostdev mode="subsystem" type="pci" managed="yes">
  220.       <source>
  221.         <address domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  222.       </source>
  223.       <rom file="/usr/share/vgabios/patched.rom"/>
  224.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  225.     </hostdev>
  226.     <hostdev mode="subsystem" type="pci" managed="yes">
  227.       <source>
  228.         <address domain="0x0000" bus="0x09" slot="0x00" function="0x1"/>
  229.       </source>
  230.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  231.     </hostdev>
  232.     <hostdev mode="subsystem" type="pci" managed="yes">
  233.       <source>
  234.         <address domain="0x0000" bus="0x09" slot="0x00" function="0x2"/>
  235.       </source>
  236.       <rom file="/usr/share/vgabios/patched.rom"/>
  237.       <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  238.     </hostdev>
  239.     <hostdev mode="subsystem" type="pci" managed="yes">
  240.       <source>
  241.         <address domain="0x0000" bus="0x09" slot="0x00" function="0x3"/>
  242.       </source>
  243.       <rom file="/usr/share/vgabios/patched.rom"/>
  244.       <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  245.     </hostdev>
  246.     <hostdev mode="subsystem" type="usb" managed="yes">
  247.       <source>
  248.         <vendor id="0x1532"/>
  249.         <product id="0x025e"/>
  250.       </source>
  251.       <address type="usb" bus="0" port="2"/>
  252.     </hostdev>
  253.     <hostdev mode="subsystem" type="usb" managed="yes">
  254.       <source>
  255.         <vendor id="0x046d"/>
  256.         <product id="0xc07e"/>
  257.       </source>
  258.       <address type="usb" bus="0" port="3"/>
  259.     </hostdev>
  260.     <hostdev mode="subsystem" type="usb" managed="yes">
  261.       <source>
  262.         <vendor id="0x13d3"/>
  263.         <product id="0x3548"/>
  264.       </source>
  265.       <address type="usb" bus="0" port="4"/>
  266.     </hostdev>
  267.     <hostdev mode="subsystem" type="usb" managed="yes">
  268.       <source>
  269.         <vendor id="0x0b05"/>
  270.         <product id="0x1866"/>
  271.       </source>
  272.       <address type="usb" bus="0" port="5"/>
  273.     </hostdev>
  274.     <hostdev mode="subsystem" type="usb" managed="yes">
  275.       <source>
  276.         <vendor id="0x2516"/>
  277.         <product id="0x0173"/>
  278.       </source>
  279.       <address type="usb" bus="0" port="6"/>
  280.     </hostdev>
  281.     <hostdev mode="subsystem" type="usb" managed="yes">
  282.       <source>
  283.         <vendor id="0x046d"/>
  284.         <product id="0xc52b"/>
  285.       </source>
  286.       <address type="usb" bus="0" port="7"/>
  287.     </hostdev>
  288.     <hostdev mode="subsystem" type="pci" managed="yes">
  289.       <source>
  290.         <address domain="0x0000" bus="0x0b" slot="0x00" function="0x4"/>
  291.       </source>
  292.       <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  293.     </hostdev>
  294.     <hostdev mode="subsystem" type="usb" managed="yes">
  295.       <source>
  296.         <vendor id="0x0951"/>
  297.         <product id="0x170f"/>
  298.       </source>
  299.       <address type="usb" bus="0" port="8"/>
  300.     </hostdev>
  301.     <hostdev mode="subsystem" type="usb" managed="yes">
  302.       <source>
  303.         <vendor id="0x1532"/>
  304.         <product id="0x0e06"/>
  305.       </source>
  306.       <address type="usb" bus="0" port="9"/>
  307.     </hostdev>
  308.     <memballoon model="virtio">
  309.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  310.     </memballoon>
  311.   </devices>
  312. </domain>
  313.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement