On a Tuesday in 2024, Martin Kletzander wrote:
Domain capabilities include information about support for various
devices and models.
Panic devices are not included in the output which means that management
applications need to include the logic for choosing the right device
model or request a default model and try defining such a domain.
Add reporting of panic device models into the domain capabilities based
on the logic in qemuValidateDomainDefPanic() and also report whether
panic devices are supported based on whether at least one model is
supported. That way consumers of the domain capability XML can
differentiate between libvirt not reporting the panic device models or
no model being supported.
Resolves:
https://issues.redhat.com/browse/RHEL-65187
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
docs/formatdomaincaps.rst | 24 ++++++++++++++
src/conf/domain_capabilities.c | 13 ++++++++
[...]
.../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 7 +++++
.../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 7 +++++
tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 7 +++++
77 files changed, 502 insertions(+)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano