Advertisement
mmcze

windows11-ryzen5800x-libvirt-xml-14

May 16th, 2024
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.44 KB | None | 0 0
  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='7'/>
  16.     <vcpupin vcpu='2' cpuset='14'/>
  17.     <vcpupin vcpu='3' cpuset='6'/>
  18.     <vcpupin vcpu='4' cpuset='13'/>
  19.     <vcpupin vcpu='5' cpuset='5'/>
  20.     <vcpupin vcpu='6' cpuset='12'/>
  21.     <vcpupin vcpu='7' cpuset='4'/>
  22.     <vcpupin vcpu='8' cpuset='11'/>
  23.     <vcpupin vcpu='9' cpuset='3'/>
  24.     <vcpupin vcpu='10' cpuset='10'/>
  25.     <vcpupin vcpu='11' cpuset='2'/>
  26.     <vcpupin vcpu='12' cpuset='9'/>
  27.     <vcpupin vcpu='13' cpuset='1'/>
  28.     <emulatorpin cpuset='8'/>
  29.     <iothreadpin iothread='1' cpuset='0'/>
  30.     <emulatorsched scheduler='fifo' priority='10'/>
  31.   </cputune>
  32.   <resource>
  33.     <partition>/machine</partition>
  34.   </resource>
  35.   <os>
  36.     <type arch='x86_64' machine='pc-q35-7.0'>hvm</type>
  37.     <loader readonly='yes' secure='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE_4M.secboot.fd</loader>
  38.     <nvram>/usr/share/OVMF/OVMF_VARS_4M.ms.fd</nvram>
  39.     <bootmenu enable='no'/>
  40.     <smbios mode='host'/>
  41.   </os>
  42.   <features>
  43.     <acpi/>
  44.     <apic eoi='on'/>
  45.     <hap state='on'/>
  46.     <hyperv mode='custom'>
  47.       <relaxed state='on'/>
  48.       <vapic state='on'/>
  49.       <spinlocks state='on' retries='8191'/>
  50.       <vpindex state='on'/>
  51.       <runtime state='on'/>
  52.       <synic state='on'/>
  53.       <stimer state='on'>
  54.         <direct state='on'/>
  55.       </stimer>
  56.       <reset state='on'/>
  57.       <vendor_id state='on' value='1234567890ab'/>
  58.       <frequencies state='on'/>
  59.       <reenlightenment state='on'/>
  60.       <tlbflush state='on'/>
  61.       <ipi state='on'/>
  62.       <avic state='on'/>
  63.     </hyperv>
  64.     <kvm>
  65.       <hidden state='on'/>
  66.       <hint-dedicated state='on'/>
  67.       <poll-control state='on'/>
  68.       <pv-ipi state='on'/>
  69.     </kvm>
  70.     <pmu state='off'/>
  71.     <vmport state='off'/>
  72.     <smm state='on'>
  73.       <tseg unit='MiB'>64</tseg>
  74.     </smm>
  75.     <ioapic driver='kvm'/>
  76.   </features>
  77.   <cpu mode='host-passthrough' check='full' migratable='off'>
  78.     <topology sockets='1' dies='1' cores='7' threads='2'/>
  79.     <cache mode='passthrough'/>
  80.     <feature policy='disable' name='x2apic'/>
  81.     <feature policy='require' name='tsc-deadline'/>
  82.     <feature policy='require' name='tsc_adjust'/>
  83.     <feature policy='require' name='arch-capabilities'/>
  84.     <feature policy='require' name='rdctl-no'/>
  85.     <feature policy='require' name='skip-l1dfl-vmentry'/>
  86.     <feature policy='require' name='mds-no'/>
  87.     <feature policy='require' name='pschange-mc-no'/>
  88.     <feature policy='require' name='topoext'/>
  89.     <feature policy='disable' name='svm'/>
  90.     <feature policy='require' name='hypervisor'/>
  91.     <feature policy='require' name='invtsc'/>
  92.     <feature policy='require' name='ibpb'/>
  93.     <feature policy='require' name='virt-ssbd'/>
  94.     <feature policy='require' name='pdpe1gb'/>
  95.     <feature policy='require' name='cmp_legacy'/>
  96.     <feature policy='require' name='xsaves'/>
  97.     <feature policy='require' name='perfctr_core'/>
  98.     <feature policy='require' name='clzero'/>
  99.     <feature policy='require' name='xsaveerptr'/>
  100.   </cpu>
  101.   <clock offset='timezone' timezone='Europe/Prague'>
  102.     <timer name='rtc' present='no' tickpolicy='catchup'/>
  103.     <timer name='pit' tickpolicy='discard'/>
  104.     <timer name='hpet' present='no'/>
  105.     <timer name='kvmclock' present='no'/>
  106.     <timer name='hypervclock' present='yes'/>
  107.     <timer name='tsc' present='yes' mode='native'/>
  108.   </clock>
  109.   <on_poweroff>destroy</on_poweroff>
  110.   <on_reboot>destroy</on_reboot>
  111.   <on_crash>destroy</on_crash>
  112.   <pm>
  113.     <suspend-to-mem enabled='no'/>
  114.     <suspend-to-disk enabled='no'/>
  115.   </pm>
  116.   <devices>
  117.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  118.     <disk type='file' device='disk'>
  119.       <driver name='qemu' type='raw' cache='none' io='io_uring' discard='unmap'/>
  120.       <source file='/crypt/win2-storage/disk.raw'/>
  121.       <backingStore/>
  122.       <target dev='vda' bus='scsi'/>
  123.       <boot order='1'/>
  124.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  125.       <blockio discard_granularity='33554432'/>
  126.     </disk>
  127.     <disk type='file' device='disk'>
  128.       <driver name='qemu' type='raw' cache='none' io='io_uring' discard='unmap'/>
  129.       <source file='/zrcadlo2/win2-storage2/disk.raw'/>
  130.       <backingStore/>
  131.       <target dev='vdb' bus='scsi'/>
  132.       <address type='drive' controller='0' bus='0' target='1' unit='0'/>
  133.       <blockio discard_granularity='33554432'/>
  134.     </disk>
  135.     <disk type='file' device='disk'>
  136.       <driver name='qemu' type='raw' cache='none' io='io_uring' discard='unmap'/>
  137.       <source file='/ssdpool1/win2-storage3/disk.raw'/>
  138.       <backingStore/>
  139.       <target dev='vdc' bus='scsi'/>
  140.       <address type='drive' controller='0' bus='0' target='2' unit='0'/>
  141.       <blockio discard_granularity='33554432'/>
  142.     </disk>
  143.     <disk type='file' device='disk'>
  144.       <driver name='qemu' type='raw' cache='none' io='io_uring' discard='unmap'/>
  145.       <source file='/ssdpool2/win2-storage4/disk.raw'/>
  146.       <backingStore/>
  147.       <target dev='vdd' bus='scsi'/>
  148.       <address type='drive' controller='0' bus='0' target='3' unit='0'/>
  149.       <blockio discard_granularity='33554432'/>
  150.     </disk>
  151.     <controller type='pci' index='0' model='pcie-root'/>
  152.     <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  153.       <model name='i82801b11-bridge'/>
  154.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0' multifunction='on'/>
  155.     </controller>
  156.     <controller type='pci' index='2' model='pci-bridge'>
  157.       <model name='pci-bridge'/>
  158.       <target chassisNr='2'/>
  159.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  160.     </controller>
  161.     <controller type='pci' index='3' model='pcie-root-port'>
  162.       <model name='pcie-root-port'/>
  163.       <target chassis='3' port='0x10'/>
  164.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  165.     </controller>
  166.     <controller type='pci' index='4' model='pcie-root-port'>
  167.       <model name='pcie-root-port'/>
  168.       <target chassis='4' port='0x11'/>
  169.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  170.     </controller>
  171.     <controller type='pci' index='5' model='pcie-root-port'>
  172.       <model name='pcie-root-port'/>
  173.       <target chassis='5' port='0x12'/>
  174.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  175.     </controller>
  176.     <controller type='pci' index='6' model='pcie-root-port'>
  177.       <model name='pcie-root-port'/>
  178.       <target chassis='6' port='0x13'/>
  179.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  180.     </controller>
  181.     <controller type='pci' index='7' model='pcie-root-port'>
  182.       <model name='pcie-root-port'/>
  183.       <target chassis='7' port='0x8'/>
  184.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  185.     </controller>
  186.     <controller type='pci' index='8' model='pcie-root-port'>
  187.       <model name='pcie-root-port'/>
  188.       <target chassis='8' port='0x9'/>
  189.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  190.     </controller>
  191.     <controller type='scsi' index='0' model='virtio-scsi'>
  192.       <driver queues='8' iothread='1'/>
  193.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x2'/>
  194.     </controller>
  195.     <controller type='sata' index='0'>
  196.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  197.     </controller>
  198.     <controller type='usb' index='0' model='nec-xhci' ports='6'>
  199.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  200.     </controller>
  201.     <interface type='bridge'>
  202.       <mac address='52:54:00:46:db:27'/>
  203.       <source bridge='br0'/>
  204.       <model type='virtio'/>
  205.       <driver queues='8'/>
  206.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  207.     </interface>
  208.     <input type='mouse' bus='ps2'/>
  209.     <input type='keyboard' bus='ps2'/>
  210.     <tpm model='tpm-tis'>
  211.       <backend type='emulator' version='2.0'/>
  212.     </tpm>
  213.     <audio id='1' type='none'/>
  214.     <hostdev mode='subsystem' type='pci' managed='yes'>
  215.       <driver name='vfio'/>
  216.       <source>
  217.         <address domain='0x0000' bus='0x29' slot='0x00' function='0x0'/>
  218.       </source>
  219.       <rom file='/usr/share/ovmf/rx7900xt.rom'/>
  220.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
  221.     </hostdev>
  222.     <hostdev mode='subsystem' type='pci' managed='yes'>
  223.       <driver name='vfio'/>
  224.       <source>
  225.         <address domain='0x0000' bus='0x29' slot='0x00' function='0x1'/>
  226.       </source>
  227.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
  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='0x2'/>
  233.       </source>
  234.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x2'/>
  235.     </hostdev>
  236.     <hostdev mode='subsystem' type='pci' managed='yes'>
  237.       <driver name='vfio'/>
  238.       <source>
  239.         <address domain='0x0000' bus='0x29' slot='0x00' function='0x3'/>
  240.       </source>
  241.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x3'/>
  242.     </hostdev>
  243.     <hostdev mode='subsystem' type='usb' managed='yes'>
  244.       <source>
  245.         <vendor id='0x0458'/>
  246.         <product id='0x6007'/>
  247.         <address bus='3' device='2'/>
  248.       </source>
  249.       <address type='usb' bus='0' port='3'/>
  250.     </hostdev>
  251.     <hostdev mode='subsystem' type='pci' managed='yes'>
  252.       <driver name='vfio'/>
  253.       <source>
  254.         <address domain='0x0000' bus='0x2b' slot='0x00' function='0x3'/>
  255.       </source>
  256.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  257.     </hostdev>
  258.     <watchdog model='itco' action='reset'/>
  259.     <memballoon model='none'/>
  260.   </devices>
  261.   <seclabel type='dynamic' model='dac' relabel='yes'/>
  262. <qemu:commandline>
  263. <qemu:arg value="-fw_cfg"/>
  264. <qemu:arg value="opt/ovmf/X-PciMmio64Mb,string=65536"/>
  265. </qemu:commandline>
  266. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement