[PATCH 13/80] qemu: capabilities: Unconditionally set QEMU_CAPS_BLOCKDEV/QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI
Pavel Hrdina
phrdina at redhat.com
Wed Aug 3 08:40:24 UTC 2022
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 at 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: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220803/7967538a/attachment.sig>
More information about the libvir-list
mailing list