Advertisement
mmcze

windows11-ryzen5800x-libvirt-xml-2

May 21st, 2022
926
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>windows2</name>
  3.   <uuid>3ca72322-a343-32ff-ab2d-119eb4b63e34</uuid>
  4.   <memory unit='KiB'>25165824</memory>
  5.   <currentMemory unit='KiB'>25165824</currentMemory>
  6.   <memoryBacking>
  7.     <hugepages/>
  8.     <nosharepages/>
  9.     <locked/>
  10.   </memoryBacking>
  11.   <vcpu placement='static'>14</vcpu>
  12.   <iothreads>1</iothreads>
  13.   <cputune>
  14.     <vcpupin vcpu='0' cpuset='15'/>
  15.     <vcpupin vcpu='1' cpuset='14'/>
  16.     <vcpupin vcpu='2' cpuset='13'/>
  17.     <vcpupin vcpu='3' cpuset='12'/>
  18.     <vcpupin vcpu='4' cpuset='11'/>
  19.     <vcpupin vcpu='5' cpuset='10'/>
  20.     <vcpupin vcpu='6' cpuset='9'/>
  21.     <vcpupin vcpu='7' cpuset='8'/>
  22.     <vcpupin vcpu='8' cpuset='7'/>
  23.     <vcpupin vcpu='9' cpuset='6'/>
  24.     <vcpupin vcpu='10' cpuset='5'/>
  25.     <vcpupin vcpu='11' cpuset='4'/>
  26.     <vcpupin vcpu='12' cpuset='3'/>
  27.     <vcpupin vcpu='13' cpuset='2'/>
  28.     <emulatorpin cpuset='1'/>
  29.     <iothreadpin iothread='1' cpuset='0'/>
  30.     <emulatorsched scheduler='fifo' priority='10'/>
  31.   </cputune>
  32.   <resource>
  33.     <partition>/machine</partition>
  34.   </resource>
  35.   <os firmware='efi'>
  36.     <type arch='x86_64' machine='pc-q35-6.2'>hvm</type>
  37.     <loader/>
  38.     <bootmenu enable='no'/>
  39.     <smbios mode='host'/>
  40.   </os>
  41.   <features>
  42.     <acpi/>
  43.     <apic eoi='on'/>
  44.     <hyperv>
  45.       <relaxed state='on'/>
  46.       <vapic state='on'/>
  47.       <spinlocks state='on' retries='8191'/>
  48.       <vpindex state='on'/>
  49.       <runtime state='on'/>
  50.       <synic state='on'/>
  51.       <stimer state='on'>
  52.         <direct state='on'/>
  53.       </stimer>
  54.       <reset state='on'/>
  55.       <vendor_id state='on' value='1234567890ab'/>
  56.       <frequencies state='on'/>
  57.       <reenlightenment state='on'/>
  58.       <tlbflush state='on'/>
  59.       <ipi state='on'/>
  60.     </hyperv>
  61.     <kvm>
  62.       <hidden state='on'/>
  63.       <hint-dedicated state='on'/>
  64.       <poll-control state='on'/>
  65.     </kvm>
  66.     <pmu state='off'/>
  67.     <vmport state='off'/>
  68.     <ioapic driver='kvm'/>
  69.   </features>
  70.   <cpu mode='host-passthrough' check='full' migratable='off'>
  71.     <topology sockets='1' dies='1' cores='7' threads='2'/>
  72.     <cache mode='passthrough'/>
  73.     <feature policy='require' name='x2apic'/>
  74.     <feature policy='require' name='tsc-deadline'/>
  75.     <feature policy='require' name='tsc_adjust'/>
  76.     <feature policy='require' name='arch-capabilities'/>
  77.     <feature policy='require' name='rdctl-no'/>
  78.     <feature policy='require' name='skip-l1dfl-vmentry'/>
  79.     <feature policy='require' name='mds-no'/>
  80.     <feature policy='require' name='pschange-mc-no'/>
  81.     <feature policy='require' name='topoext'/>
  82.     <feature policy='require' name='svm'/>
  83.     <feature policy='require' name='apic'/>
  84.     <feature policy='require' name='hypervisor'/>
  85.     <feature policy='require' name='invtsc'/>
  86.     <feature policy='require' name='ibpb'/>
  87.     <feature policy='require' name='virt-ssbd'/>
  88.     <feature policy='require' name='pdpe1gb'/>
  89.     <feature policy='require' name='cmp_legacy'/>
  90.     <feature policy='require' name='xsaves'/>
  91.     <feature policy='require' name='perfctr_core'/>
  92.     <feature policy='require' name='clzero'/>
  93.     <feature policy='require' name='xsaveerptr'/>
  94.     <feature policy='require' name='npt'/>
  95.     <feature policy='require' name='nrip-save'/>
  96.   </cpu>
  97.   <clock offset='timezone' timezone='Europe/Prague'>
  98.     <timer name='rtc' present='no' tickpolicy='catchup'/>
  99.     <timer name='pit' present='no' tickpolicy='delay'/>
  100.     <timer name='hpet' present='no'/>
  101.     <timer name='kvmclock' present='no'/>
  102.     <timer name='hypervclock' present='yes'/>
  103.     <timer name='tsc' present='yes' mode='native'/>
  104.   </clock>
  105.   <on_poweroff>destroy</on_poweroff>
  106.   <on_reboot>destroy</on_reboot>
  107.   <on_crash>destroy</on_crash>
  108.   <pm>
  109.     <suspend-to-mem enabled='no'/>
  110.     <suspend-to-disk enabled='no'/>
  111.   </pm>
  112.   <devices>
  113.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  114.     <disk type='file' device='disk'>
  115.       <driver name='qemu' type='raw' cache='none' io='threads' discard='unmap'/>
  116.       <source file='/crypt/win2-storage/disk.raw'/>
  117.       <backingStore/>
  118.       <target dev='vda' bus='scsi'/>
  119.       <boot order='1'/>
  120.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  121.     </disk>
  122.     <disk type='file' device='disk'>
  123.       <driver name='qemu' type='raw' cache='none' io='threads' discard='unmap'/>
  124.       <source file='/zrcadlo2/win2-storage2/disk.raw'/>
  125.       <backingStore/>
  126.       <target dev='vdb' bus='scsi'/>
  127.       <address type='drive' controller='0' bus='0' target='1' unit='0'/>
  128.     </disk>
  129.     <disk type='file' device='disk'>
  130.       <driver name='qemu' type='raw' cache='none' io='threads' discard='unmap'/>
  131.       <source file='/stripovanej/win2-storage3/disk.raw'/>
  132.       <backingStore/>
  133.       <target dev='vdc' bus='scsi'/>
  134.       <address type='drive' controller='0' bus='0' target='2' unit='0'/>
  135.     </disk>
  136.     <disk type='file' device='disk'>
  137.       <driver name='qemu' type='raw' cache='none' io='threads' discard='unmap'/>
  138.       <source file='/ssdpool/win2-storage4/disk.raw'/>
  139.       <backingStore/>
  140.       <target dev='vdd' bus='scsi'/>
  141.       <address type='drive' controller='0' bus='0' target='3' unit='0'/>
  142.     </disk>
  143.     <controller type='pci' index='0' model='pcie-root'/>
  144.     <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  145.       <model name='i82801b11-bridge'/>
  146.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0' multifunction='on'/>
  147.     </controller>
  148.     <controller type='pci' index='2' model='pci-bridge'>
  149.       <model name='pci-bridge'/>
  150.       <target chassisNr='2'/>
  151.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  152.     </controller>
  153.     <controller type='pci' index='3' model='pcie-root-port'>
  154.       <model name='pcie-root-port'/>
  155.       <target chassis='3' port='0x10'/>
  156.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  157.     </controller>
  158.     <controller type='pci' index='4' model='pcie-root-port'>
  159.       <model name='pcie-root-port'/>
  160.       <target chassis='4' port='0x11'/>
  161.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  162.     </controller>
  163.     <controller type='pci' index='5' model='pcie-root-port'>
  164.       <model name='pcie-root-port'/>
  165.       <target chassis='5' port='0x12'/>
  166.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  167.     </controller>
  168.     <controller type='pci' index='6' model='pcie-root-port'>
  169.       <model name='pcie-root-port'/>
  170.       <target chassis='6' port='0x13'/>
  171.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  172.     </controller>
  173.     <controller type='pci' index='7' model='pcie-root-port'>
  174.       <model name='pcie-root-port'/>
  175.       <target chassis='7' port='0x8'/>
  176.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  177.     </controller>
  178.     <controller type='pci' index='8' model='pcie-root-port'>
  179.       <model name='pcie-root-port'/>
  180.       <target chassis='8' port='0x9'/>
  181.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  182.     </controller>
  183.     <controller type='scsi' index='0' model='virtio-scsi'>
  184.       <driver queues='8' iothread='1'/>
  185.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x2'/>
  186.     </controller>
  187.     <controller type='sata' index='0'>
  188.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  189.     </controller>
  190.     <controller type='usb' index='0' model='nec-xhci' ports='6'>
  191.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  192.     </controller>
  193.     <interface type='bridge'>
  194.       <mac address='52:54:00:46:db:27'/>
  195.       <source bridge='br0'/>
  196.       <model type='virtio'/>
  197.       <driver queues='8'/>
  198.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  199.     </interface>
  200.     <input type='mouse' bus='ps2'/>
  201.     <input type='keyboard' bus='ps2'/>
  202.     <tpm model='tpm-tis'>
  203.       <backend type='emulator' version='2.0'/>
  204.     </tpm>
  205.     <audio id='1' type='none'/>
  206.     <hostdev mode='subsystem' type='pci' managed='yes'>
  207.       <driver name='vfio'/>
  208.       <source>
  209.         <address domain='0x0000' bus='0x27' slot='0x00' function='0x0'/>
  210.       </source>
  211.       <rom file='/usr/share/ovmf/Sapphire.RX580.8192.170323.rom'/>
  212.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
  213.     </hostdev>
  214.     <hostdev mode='subsystem' type='pci' managed='yes'>
  215.       <driver name='vfio'/>
  216.       <source>
  217.         <address domain='0x0000' bus='0x27' slot='0x00' function='0x1'/>
  218.       </source>
  219.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
  220.     </hostdev>
  221.     <hostdev mode='subsystem' type='usb' managed='yes'>
  222.       <source>
  223.         <vendor id='0x0458'/>
  224.         <product id='0x6007'/>
  225.         <address bus='3' device='2'/>
  226.       </source>
  227.       <address type='usb' bus='0' port='3'/>
  228.     </hostdev>
  229.     <hostdev mode='subsystem' type='pci' managed='yes'>
  230.       <driver name='vfio'/>
  231.       <source>
  232.         <address domain='0x0000' bus='0x29' slot='0x00' function='0x3'/>
  233.       </source>
  234.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  235.     </hostdev>
  236.     <memballoon model='none'/>
  237.   </devices>
  238.   <seclabel type='dynamic' model='dac' relabel='yes'/>
  239.   <qemu:commandline>
  240.     <qemu:arg value='-smbios'/>
  241.     <qemu:arg value='type=3,manufacturer=MSI,version=1000'/>
  242.     <qemu:arg value='-smbios'/>
  243.     <qemu:arg value='type=4,manufacturer=AMD,version=1000'/>
  244.     <qemu:arg value='-smbios'/>
  245.     <qemu:arg value='type=17,manufacturer=Micron'/>
  246.   </qemu:commandline>
  247. </domain>
Advertisement
RAW Paste Data Copied
Advertisement