mirror of https://gitlab.com/YuriAlek/vfio
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
4.9 KiB
XML
142 lines
4.9 KiB
XML
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
|
<name>win10</name>
|
|
<uuid>49a79759-dfa2-4670-a6f6-eab2d6794abd</uuid>
|
|
<memory unit='KiB'>12582910</memory>
|
|
<currentMemory unit='KiB'>12582910</currentMemory>
|
|
<vcpu placement='static' cpuset='0-12'>12</vcpu>
|
|
<iothreads>1</iothreads>
|
|
<cputune>
|
|
<vcpupin vcpu='0' cpuset='0'/>
|
|
<vcpupin vcpu='1' cpuset='1'/>
|
|
<vcpupin vcpu='2' cpuset='2'/>
|
|
<vcpupin vcpu='3' cpuset='3'/>
|
|
<vcpupin vcpu='4' cpuset='4'/>
|
|
<vcpupin vcpu='5' cpuset='5'/>
|
|
<vcpupin vcpu='6' cpuset='6'/>
|
|
<vcpupin vcpu='7' cpuset='7'/>
|
|
<vcpupin vcpu='8' cpuset='8'/>
|
|
<vcpupin vcpu='9' cpuset='9'/>
|
|
<vcpupin vcpu='10' cpuset='10'/>
|
|
<vcpupin vcpu='11' cpuset='11'/>
|
|
<emulatorpin cpuset='0-6'/>
|
|
<iothreadpin iothread='1' cpuset='0-1'/>
|
|
</cputune>
|
|
<numatune>
|
|
<memory mode='strict' nodeset='0'/>
|
|
</numatune>
|
|
<os>
|
|
<type arch='x86_64' machine='pc-i440fx-3.1'>hvm</type>
|
|
<loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
|
|
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
|
|
<boot dev='cdrom'/>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<hyperv>
|
|
<relaxed state='on'/>
|
|
<vapic state='on'/>
|
|
<spinlocks state='on' retries='8191'/>
|
|
<vendor_id state='on' value='123456789ab'/>
|
|
</hyperv>
|
|
<kvm>
|
|
<hidden state='on'/>
|
|
</kvm>
|
|
<vmport state='off'/>
|
|
</features>
|
|
<cpu mode='host-model' check='partial'>
|
|
<model fallback='allow'/>
|
|
<topology sockets='1' cores='6' threads='2'/>
|
|
<cache level='3' mode='emulate'/>
|
|
<feature name='ht'/>
|
|
<feature name='xsaves'/>
|
|
<feature name='cmp_legacy'/>
|
|
<feature name='extapic'/>
|
|
<feature name='skinit'/>
|
|
<feature name='wdt'/>
|
|
<feature name='tce'/>
|
|
<feature policy='require' name='topoext'/>
|
|
<feature name='perfctr_core'/>
|
|
<feature name='perfctr_nb'/>
|
|
<feature name='invtsc'/>
|
|
<numa>
|
|
<cell id='0' cpus='0-11' memory='12582912' unit='KiB'/>
|
|
</numa>
|
|
</cpu>
|
|
<clock offset='localtime'>
|
|
<timer name='rtc' tickpolicy='catchup'/>
|
|
<timer name='pit' tickpolicy='delay'/>
|
|
<timer name='hpet' present='no'/>
|
|
<timer name='hypervclock' present='yes'/>
|
|
</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='file' device='disk'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/windows.raw'/>
|
|
<target dev='sda' bus='scsi'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/windows10.iso'/>
|
|
<target dev='hda' bus='ide'/>
|
|
<readonly/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/virtio-win.iso'/>
|
|
<target dev='hdb' bus='ide'/>
|
|
<readonly/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
|
|
</disk>
|
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
</controller>
|
|
<controller type='scsi' index='0' model='virtio-scsi'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
</controller>
|
|
<controller type='pci' index='0' model='pci-root'/>
|
|
<controller type='ide' index='0'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
</controller>
|
|
<interface type='network'>
|
|
<mac address='50:50:50:48:5a:fc'/>
|
|
<source network='virt1'/>
|
|
<model type='virtio'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
|
|
</interface>
|
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
|
<source>
|
|
<address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
|
</source>
|
|
<rom file='/GK104_80.04.C3.00.0F-MODED.rom'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
|
|
</hostdev>
|
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
|
<source>
|
|
<address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
|
|
</source>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
|
</hostdev>
|
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
|
<source>
|
|
<address domain='0x0000' bus='0x07' slot='0x00' function='0x3'/>
|
|
</source>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
|
|
</hostdev>
|
|
<memballoon model='virtio'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
</memballoon>
|
|
</devices>
|
|
</domain>
|