On Tue, Jul 26, 2022 at 04:36:51PM +0200, 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 > 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@xxxxxxxxxx> > --- > 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: Pavel Hrdina <phrdina@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature