
On Tue, Jun 18, 2019 at 10:37:26 +0200, 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
s/tel/tell/
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. --- src/qemu/qemu_capabilities.c | 2 ++ src/qemu/qemu_capabilities.h | 1 + tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml | 1 + 3 files changed, 4 insertions(+)
I agree with holding this patch until you have a user. That is, you can record my Reviewed-by: Jiri Denemark <jdenemar@redhat.com> and send this patch again as part of the bigger series which will make use of this capability. Jirka