98 lines
3.0 KiB
XML
98 lines
3.0 KiB
XML
<domain type="kvm">
|
|
<name>fedora</name>
|
|
<uuid>12345678-12F4-1234-1234-123456789AFA</uuid>
|
|
<genid/>
|
|
<description>foobar & baz</description>
|
|
<metadata>
|
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
<libosinfo:os id="http://fedoraproject.org/fedora/unknown"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>1048576</memory>
|
|
<currentMemory>1048576</currentMemory>
|
|
<memoryBacking>
|
|
<hugepages/>
|
|
</memoryBacking>
|
|
<vcpu cpuset="1,3-5">4</vcpu>
|
|
<numatune>
|
|
<memory nodeset="1,2,3,5-7,^6"/>
|
|
</numatune>
|
|
<resource>
|
|
<partition>/virtualmachines/production</partition>
|
|
</resource>
|
|
<os>
|
|
<type arch="x86_64" machine="q35">hvm</type>
|
|
<loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
|
|
<boot dev="network"/>
|
|
<boot dev="hd"/>
|
|
<smbios mode="host"/>
|
|
<initarg>foo</initarg>
|
|
<initarg>bar=baz</initarg>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<vmport state="off"/>
|
|
</features>
|
|
<cpu mode="custom" match="exact">
|
|
<model fallback="forbid">Broadwell</model>
|
|
<vendor>Intel</vendor>
|
|
<topology sockets="2" cores="2" threads="2"/>
|
|
<feature policy="require" name="vme"/>
|
|
<feature policy="require" name="ss"/>
|
|
<feature policy="require" name="f16c"/>
|
|
<feature policy="require" name="rdrand"/>
|
|
<feature policy="require" name="hypervisor"/>
|
|
<feature policy="require" name="arat"/>
|
|
<feature policy="require" name="tsc_adjust"/>
|
|
<feature policy="require" name="xsaveopt"/>
|
|
<feature policy="require" name="pdpe1gb"/>
|
|
<feature policy="require" name="abm"/>
|
|
<feature policy="require" name="invtsc"/>
|
|
</cpu>
|
|
<clock offset="localtime">
|
|
<timer name="rtc" tickpolicy="catchup"/>
|
|
<timer name="pit" tickpolicy="delay"/>
|
|
<timer name="hpet" present="no"/>
|
|
</clock>
|
|
<on_crash>restart</on_crash>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-kvm</emulator>
|
|
<controller type="usb" index="0" model="ich9-ehci1"/>
|
|
<controller type="usb" index="0" model="ich9-uhci1">
|
|
<master startport="0"/>
|
|
</controller>
|
|
<controller type="usb" index="0" model="ich9-uhci2">
|
|
<master startport="2"/>
|
|
</controller>
|
|
<controller type="usb" index="0" model="ich9-uhci3">
|
|
<master startport="4"/>
|
|
</controller>
|
|
<input type="tablet" bus="usb"/>
|
|
<tpm model="tpm-tis">
|
|
<backend type="passthrough">
|
|
<device path="/dev/tpm0"/>
|
|
</backend>
|
|
</tpm>
|
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
|
<image compression="off"/>
|
|
</graphics>
|
|
<video>
|
|
<model type="vga"/>
|
|
</video>
|
|
<watchdog model="i6300esb" action="reset"/>
|
|
<memballoon model="none"/>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/random</backend>
|
|
</rng>
|
|
<vsock model="virtio">
|
|
<cid auto="yes"/>
|
|
</vsock>
|
|
</devices>
|
|
<seclabel type="dynamic" model="selinux"/>
|
|
<seclabel type="none" model="dac"/>
|
|
</domain>
|