[libvirt] [PATCH] qemu: snapshot: Mark file becoming backingStore as read-only

Ján Tomko jtomko at redhat.com
Mon Dec 9 12:51:13 UTC 2019


On Mon, Dec 09, 2019 at 12:52:04PM +0100, Peter Krempa wrote:
>For any backing file we set 'read-only' to true, but didn't do this when
>modifying the recorded backing store when creating external snapshots.
>
>This meant that qemu would attempt to open the backing-file read-write.
>This would fail for example when selinux is used as qemu doesn't have
>write permission for the backing file.
>
>https://bugzilla.redhat.com/show_bug.cgi?id=1781079
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 2 ++
> 1 file changed, 2 insertions(+)
>

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/20191209/5e985e98/attachment-0001.sig>


More information about the libvir-list mailing list