]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Restrict file existence check only for local storage
authorPeter Krempa <pkrempa@redhat.com>
Mon, 12 Aug 2019 11:48:51 +0000 (13:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 26 Aug 2019 11:49:17 +0000 (13:49 +0200)
commit9d80fdcd63833c68d9b097765ebc2f0380bca98d
tree1e0029cc3710b9eaed17f2955ba2066b3c6a22a5
parent7921e9b088cf0aec34766ed3d7432fcdf66e3ea9
qemu: snapshot: Restrict file existence check only for local storage

Soon we'll allow more protocols and storage types with snapshots where
we in some cases can't check whether the storage already exists.
Restrict the sanity checks whether the destination images exist or not
for local storage where it's easy. For any other case we will fail
later.

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