]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Allow snapshots of read-only disks when we can create them
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 May 2020 15:41:12 +0000 (17:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 May 2020 04:56:09 +0000 (06:56 +0200)
commitfe574ea1f52daebddfdc91dd27234059c375e4bf
tree6d73ab344aa0bdac0db60baecaf951eca47358b0
parent10d62782798cd6e4d472a764575c189247a263b3
qemu: snapshot: Allow snapshots of read-only disks when we can create them

With -blockdev or when reusing externally created images and thus
without the need for formatting the image we actually can support
snapshots of read-only disks. Arguably it's not very useful so they are
not done by default but users of libvirt such as oVirt are actually
using this.

https://bugzilla.redhat.com/show_bug.cgi?id=1832204

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c