[PATCH 13/80] qemu: capabilities: Unconditionally set QEMU_CAPS_BLOCKDEV/QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI

Ján Tomko jtomko at redhat.com
Thu Aug 4 23:14:14 UTC 2022


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 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: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220805/18d4062f/attachment.sig>


More information about the libvir-list mailing list