Re: [PATCH 5/8] qemu: caps: Add capability for dynamic 'auto-read-only' support for files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 18, 2019 at 06:02:05PM +0100, Peter Krempa wrote:
> Initial implementation of 'auto-read-only' didn't reopen the backing
> files when needed. For '-blockdev' to work we need to be able to tel
> qemu to open a file read-only and change it during blockjobs as we label
> backing chains with a sVirt label which does not allow writing. The
> dynamic auto-read-only supports this as it reopens files when writing
> is demanded.
> 
> Add a capability to detect that the posix file based backends support
> the dynamic part.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c                      | 2 ++
>  src/qemu/qemu_capabilities.h                      | 1 +
>  tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml  | 1 +
>  tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml | 1 +
>  tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml   | 1 +
>  tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml  | 1 +
>  6 files changed, 7 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux