mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
qemu: checkpoint: Remove open-ended TODOs
Once somebody is motivated enough to add the support for the quiesce flag or offline checkpoint deletion they are welcome to do so but we don't need to have a reminder. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
34cb003d09
commit
e5cf665b09
@ -371,7 +371,6 @@ qemuCheckpointCreateXML(virDomainPtr domain,
|
||||
VIR_AUTOUNREF(virDomainCheckpointDefPtr) def = NULL;
|
||||
|
||||
virCheckFlags(VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE, NULL);
|
||||
/* TODO: VIR_DOMAIN_CHECKPOINT_CREATE_QUIESCE */
|
||||
|
||||
if (redefine) {
|
||||
parse_flags |= VIR_DOMAIN_CHECKPOINT_PARSE_REDEFINE;
|
||||
@ -571,8 +570,6 @@ qemuCheckpointDelete(virDomainObjPtr vm,
|
||||
return -1;
|
||||
|
||||
if (!metadata_only) {
|
||||
/* Until qemu-img supports offline bitmap deletion, we are stuck
|
||||
* with requiring a running guest */
|
||||
if (!virDomainObjIsActive(vm)) {
|
||||
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
|
||||
_("cannot delete checkpoint for inactive domain"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user