Advertisement
Guest User

Untitled

a guest
Dec 29th, 2024
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.83 KB | Source Code | 0 0
  1. <domain type='kvm'>
  2.   <name>win10</name>
  3.   <uuid>b4c794c0-af4b-4843-9b4a-2440266abf77</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'>24674304</memory>
  10.   <currentMemory unit='KiB'>24674304</currentMemory>
  11.   <vcpu placement='static'>10</vcpu>
  12.   <os firmware='efi'>
  13.     <type arch='x86_64' machine='pc-q35-9.1'>hvm</type>
  14.     <firmware>
  15.       <feature enabled='no' name='enrolled-keys'/>
  16.       <feature enabled='yes' name='secure-boot'/>
  17.     </firmware>
  18.     <loader readonly='yes' secure='yes' type='pflash' format='raw'>/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
  19.     <nvram template='/usr/share/edk2/x64/OVMF_VARS.4m.fd' templateFormat='raw' format='raw'>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  20.     <boot dev='hd'/>
  21.   </os>
  22.   <features>
  23.     <acpi/>
  24.     <apic/>
  25.     <hyperv mode='custom'>
  26.       <relaxed state='on'/>
  27.       <vapic state='on'/>
  28.       <spinlocks state='on' retries='8191'/>
  29.       <vpindex state='on'/>
  30.       <runtime state='on'/>
  31.       <synic state='on'/>
  32.       <stimer state='on'/>
  33.       <vendor_id state='on' value='randomid'/>
  34.       <frequencies state='on'/>
  35.       <tlbflush state='on'/>
  36.       <ipi state='on'/>
  37.       <evmcs state='on'/>
  38.       <avic state='on'/>
  39.     </hyperv>
  40.     <vmport state='off'/>
  41.     <smm state='on'/>
  42.   </features>
  43.   <cpu mode='host-passthrough' check='none' migratable='on'/>
  44.   <clock offset='localtime'>
  45.     <timer name='rtc' tickpolicy='catchup'/>
  46.     <timer name='pit' tickpolicy='delay'/>
  47.     <timer name='hpet' present='no'/>
  48.     <timer name='hypervclock' present='yes'/>
  49.   </clock>
  50.   <on_poweroff>destroy</on_poweroff>
  51.   <on_reboot>restart</on_reboot>
  52.   <on_crash>destroy</on_crash>
  53.   <pm>
  54.     <suspend-to-mem enabled='no'/>
  55.     <suspend-to-disk enabled='no'/>
  56.   </pm>
  57.   <devices>
  58.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  59.     <disk type='file' device='disk'>
  60.       <driver name='qemu' type='qcow2'/>
  61.       <source file='/ssd/vm/storage/win10.qcow2'/>
  62.       <target dev='sda' bus='sata'/>
  63.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  64.     </disk>
  65.     <disk type='file' device='cdrom'>
  66.       <driver name='qemu' type='raw'/>
  67.       <source file='/ssd/vm/os/Win10_22H2_English_x64v1.iso'/>
  68.       <target dev='sdb' bus='sata'/>
  69.       <readonly/>
  70.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  71.     </disk>
  72.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  73.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  74.     </controller>
  75.     <controller type='pci' index='0' model='pcie-root'/>
  76.     <controller type='pci' index='1' model='pcie-root-port'>
  77.       <model name='pcie-root-port'/>
  78.       <target chassis='1' port='0x10'/>
  79.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  80.     </controller>
  81.     <controller type='pci' index='2' model='pcie-root-port'>
  82.       <model name='pcie-root-port'/>
  83.       <target chassis='2' port='0x11'/>
  84.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  85.     </controller>
  86.     <controller type='pci' index='3' model='pcie-root-port'>
  87.       <model name='pcie-root-port'/>
  88.       <target chassis='3' port='0x12'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  90.     </controller>
  91.     <controller type='pci' index='4' model='pcie-root-port'>
  92.       <model name='pcie-root-port'/>
  93.       <target chassis='4' port='0x13'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  95.     </controller>
  96.     <controller type='pci' index='5' model='pcie-root-port'>
  97.       <model name='pcie-root-port'/>
  98.       <target chassis='5' port='0x14'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  100.     </controller>
  101.     <controller type='pci' index='6' model='pcie-root-port'>
  102.       <model name='pcie-root-port'/>
  103.       <target chassis='6' port='0x15'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  105.     </controller>
  106.     <controller type='pci' index='7' model='pcie-root-port'>
  107.       <model name='pcie-root-port'/>
  108.       <target chassis='7' port='0x16'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  110.     </controller>
  111.     <controller type='pci' index='8' model='pcie-root-port'>
  112.       <model name='pcie-root-port'/>
  113.       <target chassis='8' port='0x17'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
  115.     </controller>
  116.     <controller type='pci' index='9' model='pcie-root-port'>
  117.       <model name='pcie-root-port'/>
  118.       <target chassis='9' port='0x18'/>
  119.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
  120.     </controller>
  121.     <controller type='pci' index='10' model='pcie-root-port'>
  122.       <model name='pcie-root-port'/>
  123.       <target chassis='10' port='0x19'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
  125.     </controller>
  126.     <controller type='pci' index='11' model='pcie-root-port'>
  127.       <model name='pcie-root-port'/>
  128.       <target chassis='11' port='0x1a'/>
  129.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
  130.     </controller>
  131.     <controller type='pci' index='12' model='pcie-root-port'>
  132.       <model name='pcie-root-port'/>
  133.       <target chassis='12' port='0x1b'/>
  134.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
  135.     </controller>
  136.     <controller type='pci' index='13' model='pcie-root-port'>
  137.       <model name='pcie-root-port'/>
  138.       <target chassis='13' port='0x1c'/>
  139.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
  140.     </controller>
  141.     <controller type='pci' index='14' model='pcie-root-port'>
  142.       <model name='pcie-root-port'/>
  143.       <target chassis='14' port='0x1d'/>
  144.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
  145.     </controller>
  146.     <controller type='sata' index='0'>
  147.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  148.     </controller>
  149.     <controller type='virtio-serial' index='0'>
  150.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  151.     </controller>
  152.     <interface type='network'>
  153.       <mac address='52:54:00:da:47:7f'/>
  154.       <source network='default'/>
  155.       <model type='e1000e'/>
  156.       <link state='down'/>
  157.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  158.     </interface>
  159.     <serial type='pty'>
  160.       <target type='isa-serial' port='0'>
  161.         <model name='isa-serial'/>
  162.       </target>
  163.     </serial>
  164.     <console type='pty'>
  165.       <target type='serial' port='0'/>
  166.     </console>
  167.     <input type='evdev'>
  168.       <source dev='/dev/input/by-id/usb-Razer_Razer_Basilisk_V3-event-mouse'/>
  169.     </input>
  170.     <input type='evdev'>
  171.       <source dev='/dev/input/by-id/usb-KBDFANS_MAJA-if02-event-kbd' grab='all' grabToggle='shift-shift' repeat='on'/>
  172.     </input>
  173.     <input type='mouse' bus='ps2'/>
  174.     <input type='keyboard' bus='ps2'/>
  175.     <sound model='ich9'>
  176.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  177.     </sound>
  178.     <audio id='1' type='none'/>
  179.     <hostdev mode='subsystem' type='pci' managed='yes'>
  180.       <source>
  181.         <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
  182.       </source>
  183.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  184.     </hostdev>
  185.     <watchdog model='itco' action='reset'/>
  186.     <memballoon model='virtio'>
  187.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  188.     </memballoon>
  189.   </devices>
  190. </domain>
Tags: win10xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement