Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
- <name>win10-gaming</name>
- <uuid></uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://microsoft.com/win/10"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory unit="KiB">33554432</memory>
- <currentMemory unit="KiB">33554432</currentMemory>
- <memoryBacking>
- <hugepages>
- <page size="1048576" unit="KiB"/>
- </hugepages>
- <nosharepages/>
- <locked/>
- <source type="memfd"/>
- <access mode="private"/>
- <allocation mode="immediate"/>
- <discard/>
- </memoryBacking>
- <vcpu placement="static" current="12">48</vcpu>
- <vcpus>
- <vcpu id="0" enabled="yes" hotpluggable="no" order="1"/>
- <vcpu id="1" enabled="yes" hotpluggable="yes" order="2"/>
- <vcpu id="2" enabled="yes" hotpluggable="yes" order="3"/>
- <vcpu id="3" enabled="no" hotpluggable="yes"/>
- <vcpu id="4" enabled="no" hotpluggable="yes"/>
- <vcpu id="5" enabled="no" hotpluggable="yes"/>
- <vcpu id="6" enabled="no" hotpluggable="yes"/>
- <vcpu id="7" enabled="no" hotpluggable="yes"/>
- <vcpu id="8" enabled="yes" hotpluggable="yes" order="4"/>
- <vcpu id="9" enabled="yes" hotpluggable="yes" order="5"/>
- <vcpu id="10" enabled="yes" hotpluggable="yes" order="6"/>
- <vcpu id="11" enabled="no" hotpluggable="yes"/>
- <vcpu id="12" enabled="no" hotpluggable="yes"/>
- <vcpu id="13" enabled="no" hotpluggable="yes"/>
- <vcpu id="14" enabled="no" hotpluggable="yes"/>
- <vcpu id="15" enabled="no" hotpluggable="yes"/>
- <vcpu id="16" enabled="yes" hotpluggable="yes" order="7"/>
- <vcpu id="17" enabled="yes" hotpluggable="yes" order="8"/>
- <vcpu id="18" enabled="yes" hotpluggable="yes" order="9"/>
- <vcpu id="19" enabled="no" hotpluggable="yes"/>
- <vcpu id="20" enabled="no" hotpluggable="yes"/>
- <vcpu id="21" enabled="no" hotpluggable="yes"/>
- <vcpu id="22" enabled="no" hotpluggable="yes"/>
- <vcpu id="23" enabled="no" hotpluggable="yes"/>
- <vcpu id="24" enabled="yes" hotpluggable="yes" order="10"/>
- <vcpu id="25" enabled="yes" hotpluggable="yes" order="11"/>
- <vcpu id="26" enabled="yes" hotpluggable="yes" order="12"/>
- <vcpu id="27" enabled="no" hotpluggable="yes"/>
- <vcpu id="28" enabled="no" hotpluggable="yes"/>
- <vcpu id="29" enabled="no" hotpluggable="yes"/>
- <vcpu id="30" enabled="no" hotpluggable="yes"/>
- <vcpu id="31" enabled="no" hotpluggable="yes"/>
- </vcpus>
- <iothreads>1</iothreads>
- <cputune>
- <vcpupin vcpu="0" cpuset="12"/>
- <vcpupin vcpu="1" cpuset="13"/>
- <vcpupin vcpu="2" cpuset="14"/>
- <vcpupin vcpu="8" cpuset="15"/>
- <vcpupin vcpu="9" cpuset="16"/>
- <vcpupin vcpu="10" cpuset="17"/>
- <vcpupin vcpu="16" cpuset="18"/>
- <vcpupin vcpu="17" cpuset="19"/>
- <vcpupin vcpu="18" cpuset="20"/>
- <vcpupin vcpu="24" cpuset="21"/>
- <vcpupin vcpu="25" cpuset="22"/>
- <vcpupin vcpu="26" cpuset="23"/>
- <emulatorpin cpuset="12-13"/>
- <iothreadpin iothread="1" cpuset="24-35"/>
- </cputune>
- <resource>
- <partition>/machine</partition>
- </resource>
- <os>
- <type arch="x86_64" machine="pc-q35-6.0">hvm</type>
- <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd</loader>
- <nvram>/var/lib/libvirt/qemu/nvram/win10-gaming_VARS.fd</nvram>
- <boot dev="hd"/>
- <smbios mode="host"/>
- </os>
- <features>
- <acpi/>
- <apic eoi="on"/>
- <hap state="on"/>
- <hyperv>
- <relaxed state="on"/>
- <vapic state="off"/>
- <spinlocks state="on" retries="8191"/>
- <vpindex state="on"/>
- <runtime state="on"/>
- <synic state="on"/>
- <stimer state="on">
- <direct state="on"/>
- </stimer>
- <reset state="off"/>
- <frequencies state="on"/>
- <reenlightenment state="on"/>
- <tlbflush state="on"/>
- <ipi state="off"/>
- <evmcs state="off"/>
- </hyperv>
- <kvm>
- <hint-dedicated state="on"/>
- <poll-control state="on"/>
- </kvm>
- <vmport state="off"/>
- <smm state="on"/>
- <ioapic driver="kvm"/>
- </features>
- <cpu mode="host-passthrough" check="full" migratable="off">
- <topology sockets="1" dies="1" cores="24" threads="2"/>
- <cache mode="passthrough"/>
- <feature policy="disable" name="svm"/>
- <feature policy="disable" name="x2apic"/>
- <feature policy="disable" name="amd-stibp"/>
- <feature policy="require" name="amd-ssbd"/>
- <feature policy="require" name="ibpb"/>
- <feature policy="require" name="wbnoinvd"/>
- <feature policy="require" name="clwb"/>
- <feature policy="require" name="xsaves"/>
- <feature policy="require" name="rdpid"/>
- <feature policy="require" name="umip"/>
- <feature policy="require" name="xsaveerptr"/>
- <feature policy="require" name="clzero"/>
- <feature policy="require" name="invtsc"/>
- <feature policy="require" name="topoext"/>
- </cpu>
- <clock offset="localtime">
- <timer name="rtc" present="yes" tickpolicy="catchup"/>
- <timer name="pit" present="yes" tickpolicy="discard"/>
- <timer name="hpet" present="no" tickpolicy="discard"/>
- <timer name="hypervclock" present="yes"/>
- <timer name="tsc" present="yes" tickpolicy="discard" mode="native"/>
- </clock>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-system-x86_64</emulator>
- <disk type="block" device="disk">
- <driver name="qemu" type="raw" cache="writeback" io="io_uring" discard="unmap" detect_zeroes="unmap"/>
- <source dev="/dev/zvol/win10-vm/win10-gaming"/>
- <backingStore/>
- <target dev="sda" bus="scsi" rotation_rate="1"/>
- <address type="drive" controller="0" bus="0" target="0" unit="0"/>
- </disk>
- <controller type="usb" index="0" model="none"/>
- <controller type="pci" index="0" model="pcie-root"/>
- <controller type="pci" index="1" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="1" port="0x1"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
- </controller>
- <controller type="pci" index="2" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="2" port="0x3"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
- </controller>
- <controller type="pci" index="3" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="3" port="0x4"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0" multifunction="on"/>
- </controller>
- <controller type="pci" index="4" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="4" port="0x5"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0" multifunction="on"/>
- </controller>
- <controller type="pci" index="5" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="5" port="0x6"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0" multifunction="on"/>
- </controller>
- <controller type="pci" index="6" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="6" port="0x9"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
- </controller>
- <controller type="pci" index="7" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="7" port="0xa"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
- </controller>
- <controller type="pci" index="8" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="8" port="0xb"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
- </controller>
- <controller type="pci" index="9" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="9" port="0x2"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
- </controller>
- <controller type="pci" index="10" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="10" port="0xc"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
- </controller>
- <controller type="pci" index="11" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="11" port="0xd"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
- </controller>
- <controller type="pci" index="12" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="12" port="0xe"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
- </controller>
- <controller type="pci" index="13" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="13" port="0xf"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
- </controller>
- <controller type="pci" index="14" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="14" port="0x11"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
- </controller>
- <controller type="pci" index="15" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="15" port="0x12"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
- </controller>
- <controller type="pci" index="16" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="16" port="0x13"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
- </controller>
- <controller type="pci" index="17" model="pcie-root-port">
- <model name="pcie-root-port"/>
- <target chassis="17" port="0x14"/>
- <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
- </controller>
- <controller type="pci" index="18" model="pcie-to-pci-bridge">
- <model name="pcie-pci-bridge"/>
- <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
- </controller>
- <controller type="virtio-serial" index="0">
- <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
- </controller>
- <controller type="scsi" index="0" model="virtio-scsi">
- <driver queues="12" ioeventfd="on" iothread="1" ats="on" packed="on"/>
- <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
- </controller>
- <controller type="sata" index="0">
- <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
- </controller>
- <interface type="network">
- <mac address="{redacted}"/>
- <source network="guest-to-host"/>
- <model type="virtio-non-transitional"/>
- <driver name="vhost" txmode="iothread" ioeventfd="on" queues="12" ats="on" packed="on"/>
- <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
- </interface>
- <input type="mouse" bus="ps2"/>
- <input type="keyboard" bus="ps2"/>
- <tpm model="tpm-crb">
- <backend type="emulator" version="2.0" persistent_state="yes">
- <encryption secret="see https://www.libvirt.org/formatsecret.html"/>
- </backend>
- </tpm>
- <audio id="1" type="none"/>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <driver name="vfio"/>
- <source>
- <address domain="0x0000" bus="0x23" slot="0x00" function="0x0"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0" multifunction="on"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <driver name="vfio"/>
- <source>
- <address domain="0x0000" bus="0x23" slot="0x00" function="0x1"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x1"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <driver name="vfio"/>
- <source>
- <address domain="0x0000" bus="0x25" slot="0x00" function="0x3"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x10" slot="0x00" function="0x0"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <driver name="vfio"/>
- <source>
- <address domain="0x0000" bus="0x05" slot="0x00" function="0x3"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <source>
- <address domain="0x0000" bus="0x45" slot="0x00" function="0x0"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <source>
- <address domain="0x0000" bus="0x4a" slot="0x00" function="0x1"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
- </hostdev>
- <hostdev mode="subsystem" type="pci" managed="yes">
- <source>
- <address domain="0x0000" bus="0x25" slot="0x00" function="0x4"/>
- </source>
- <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
- </hostdev>
- <memballoon model="none"/>
- </devices>
- <qemu:commandline>
- <qemu:arg value="-overcommit"/>
- <qemu:arg value="cpu-pm=on"/>
- <qemu:arg value="-set"/>
- <qemu:arg value="device.scsi0-0-0-0.product=Sabrent Rocket 4 Plus 500GB"/>
- <qemu:arg value="-set"/>
- <qemu:arg value="device.scsi0-0-0-0.discard_granularity=65536"/>
- </qemu:commandline>
- </domain>
Advertisement
Add Comment
Please, Sign In to add comment