I first documented the need for force back in my RFC:
https://www.redhat.com/archives/libvir-list/2011-August/msg00361.html
but only now got around to implementing it.
At the moment, I'm posting the code for early review. I'm still
in the process of testing out multiple scenarios, and will send
followup mail detailing the actual steps I took using virsh to
cover the multiple scenarios.
Eric Blake (2):
snapshot: add REVERT_FORCE to API
snapshot: enforce REVERT_FORCE on qemu
include/libvirt/libvirt.h.in | 1 +
include/libvirt/virterror.h | 2 +
src/libvirt.c | 22 +++++++++++++++++++
src/qemu/qemu_driver.c | 47 +++++++++++++++++++++++++++++++++---------
src/util/virterror.c | 6 +++++
tools/virsh.c | 19 ++++++++++++++++-
tools/virsh.pod | 17 +++++++++++++++
7 files changed, 103 insertions(+), 11 deletions(-)
--
1.7.4.4