On a Tuesday in 2022, Peter Krempa wrote:
The cleanup of the code to always assume support for
QEMU_CAPS_BLOCKDEV
will not be simple, so for now we hardcode the support and the code will
be cleaned up gradually.
We also disallow users to clear the flags via the namespace property or
qemu.conf configuration.
The change to the PPC64 test data originatest from the fact that the
*originates
capability dump is not from the release version but is lacking one of
the necessary flags to enable -blockdev.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 18 +++++-------------
src/qemu/qemu_process.c | 12 ++++++++++++
tests/domaincapsdata/qemu_4.2.0.ppc64.xml | 2 +-
.../qemucapabilitiesdata/caps_4.2.0.ppc64.xml | 3 +++
4 files changed, 21 insertions(+), 14 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano