mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
We only formatted the <sev> element when QEMU supported the feature when in fact we should always format the element to make clear that libvirt knows about the feature and the fact whether it is or isn't supported depends on QEMU version, in other words if QEMU doesn't support the feature we're going to format the following into the domain capabilities XML: <sev supported='no'/> This patch also adjusts the RNG schema accordingly in order to reflect the proposed change. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
45 lines
1.0 KiB
XML
45 lines
1.0 KiB
XML
<domainCapabilities>
|
|
<path>/usr/sbin/bhyve</path>
|
|
<domain>bhyve</domain>
|
|
<arch>x86_64</arch>
|
|
<iothreads supported='no'/>
|
|
<os supported='yes'>
|
|
<loader supported='yes'>
|
|
<value>/foo/bar</value>
|
|
<value>/foo/baz</value>
|
|
<enum name='type'>
|
|
<value>pflash</value>
|
|
</enum>
|
|
<enum name='readonly'>
|
|
<value>yes</value>
|
|
</enum>
|
|
</loader>
|
|
</os>
|
|
<cpu>
|
|
<mode name='host-passthrough' supported='no'/>
|
|
<mode name='host-model' supported='no'/>
|
|
<mode name='custom' supported='no'/>
|
|
</cpu>
|
|
<devices>
|
|
<disk supported='yes'>
|
|
<enum name='diskDevice'>
|
|
<value>disk</value>
|
|
<value>cdrom</value>
|
|
</enum>
|
|
<enum name='bus'>
|
|
<value>virtio</value>
|
|
<value>sata</value>
|
|
</enum>
|
|
</disk>
|
|
<graphics supported='no'/>
|
|
<video supported='no'/>
|
|
<hostdev supported='no'/>
|
|
</devices>
|
|
<features>
|
|
<gic supported='no'/>
|
|
<vmcoreinfo supported='no'/>
|
|
<genid supported='no'/>
|
|
<sev supported='no'/>
|
|
</features>
|
|
</domainCapabilities>
|