mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-10 01:18:03 +03:00
ebeb80073e
Currently `--panic default` for aarch64 doesn't even request a `<panic/>` device due to quirky xmlbuilder behavior. Fix that, but more generally just leave model empty and let libvirt fill it in for us. Signed-off-by: Cole Robinson <crobinso@redhat.com>
201 lines
6.7 KiB
XML
201 lines
6.7 KiB
XML
<domain type="kvm">
|
|
<name>fedora</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<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>4096000000</memory>
|
|
<currentMemory>4096000000</currentMemory>
|
|
<vcpu cpuset="1,3-5">2</vcpu>
|
|
<os>
|
|
<type arch="x86_64" machine="q35">hvm</type>
|
|
<loader readonly="yes" secure="no" type="rom" stateless="yes">/tmp/foo</loader>
|
|
<smbios mode="emulate"/>
|
|
<boot dev="network"/>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<vmport state="off"/>
|
|
</features>
|
|
<cpu mode="custom" match="exact">
|
|
<model>Skylake-Client-noTSX-IBRS</model>
|
|
<feature policy="require" name="ibpb"/>
|
|
<feature policy="require" name="md-clear"/>
|
|
<feature policy="require" name="spec-ctrl"/>
|
|
<feature policy="require" name="ssbd"/>
|
|
</cpu>
|
|
<clock offset="utc">
|
|
<timer name="rtc" tickpolicy="catchup"/>
|
|
<timer name="pit" tickpolicy="delay"/>
|
|
<timer name="hpet" present="no"/>
|
|
</clock>
|
|
<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="qcow2" discard="unmap"/>
|
|
<source file="/var/lib/libvirt/images/fedora.qcow2"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<controller type="usb" model="qemu-xhci" ports="15"/>
|
|
<controller type="pci" model="pcie-root"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<interface type="bridge">
|
|
<source bridge="testsuitebr0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<channel type="spicevmc">
|
|
<target type="virtio" name="com.redhat.spice.0"/>
|
|
</channel>
|
|
<input type="tablet" bus="usb"/>
|
|
<tpm model="tpm-crb">
|
|
<backend type="emulator"/>
|
|
</tpm>
|
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
|
<image compression="off"/>
|
|
</graphics>
|
|
<sound model="ich9"/>
|
|
<video>
|
|
<model type="virtio"/>
|
|
</video>
|
|
<redirdev bus="usb" type="spicevmc"/>
|
|
<redirdev bus="usb" type="spicevmc"/>
|
|
<watchdog model="i6300esb" action="reset"/>
|
|
<memballoon model="virtio"/>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
<panic/>
|
|
<vsock model="virtio">
|
|
<cid auto="yes"/>
|
|
</vsock>
|
|
</devices>
|
|
<seclabel type="dynamic" model="selinux"/>
|
|
<on_reboot>destroy</on_reboot>
|
|
</domain>
|
|
<domain type="kvm">
|
|
<name>fedora</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<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>4096000000</memory>
|
|
<currentMemory>4096000000</currentMemory>
|
|
<vcpu cpuset="1,3-5">2</vcpu>
|
|
<os>
|
|
<type arch="x86_64" machine="q35">hvm</type>
|
|
<loader readonly="yes" secure="no" type="rom" stateless="yes">/tmp/foo</loader>
|
|
<boot dev="hd"/>
|
|
<smbios mode="emulate"/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<vmport state="off"/>
|
|
</features>
|
|
<cpu mode="custom" match="exact">
|
|
<model>Skylake-Client-noTSX-IBRS</model>
|
|
<feature policy="require" name="ibpb"/>
|
|
<feature policy="require" name="md-clear"/>
|
|
<feature policy="require" name="spec-ctrl"/>
|
|
<feature policy="require" name="ssbd"/>
|
|
</cpu>
|
|
<clock offset="utc">
|
|
<timer name="rtc" tickpolicy="catchup"/>
|
|
<timer name="pit" tickpolicy="delay"/>
|
|
<timer name="hpet" present="no"/>
|
|
</clock>
|
|
<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="qcow2" discard="unmap"/>
|
|
<source file="/var/lib/libvirt/images/fedora.qcow2"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<controller type="usb" model="qemu-xhci" ports="15"/>
|
|
<controller type="pci" model="pcie-root"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<controller type="pci" model="pcie-root-port"/>
|
|
<interface type="bridge">
|
|
<source bridge="testsuitebr0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<channel type="spicevmc">
|
|
<target type="virtio" name="com.redhat.spice.0"/>
|
|
</channel>
|
|
<input type="tablet" bus="usb"/>
|
|
<tpm model="tpm-crb">
|
|
<backend type="emulator"/>
|
|
</tpm>
|
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
|
<image compression="off"/>
|
|
</graphics>
|
|
<sound model="ich9"/>
|
|
<video>
|
|
<model type="virtio"/>
|
|
</video>
|
|
<redirdev bus="usb" type="spicevmc"/>
|
|
<redirdev bus="usb" type="spicevmc"/>
|
|
<watchdog model="i6300esb" action="reset"/>
|
|
<memballoon model="virtio"/>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
<panic/>
|
|
<vsock model="virtio">
|
|
<cid auto="yes"/>
|
|
</vsock>
|
|
</devices>
|
|
<seclabel type="dynamic" model="selinux"/>
|
|
</domain>
|