qemu: Implement bulk snapshot operationssnapshot-bulk-v3
commitce961f56cafca063f45cb58815997a4fc57f26c4
authorEric Blake <eblake@redhat.com>
Fri, 1 Mar 2019 14:03:27 +0000 (1 08:03 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 5 Mar 2019 03:29:58 +0000 (4 21:29 -0600)
tree24137024742e4e040b7defd3ba597045767cdf39
parent03bbe08cc0e3f1c2d77538daafe710cd99e0df34
qemu: Implement bulk snapshot operations

Implement the new flags for bulk snapshot dump and redefine. This
borrows from ideas in the test driver, but is further complicated
by the fact that qemu must write snapshot XML to disk, and thus must
do additional validation after the initial parse to ensure the user
didn't attempt to rename a snapshot with "../" or similar.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c