提交 e5cf665b 编写于 作者: P Peter Krempa

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: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
上级 34cb003d
...@@ -371,7 +371,6 @@ qemuCheckpointCreateXML(virDomainPtr domain, ...@@ -371,7 +371,6 @@ qemuCheckpointCreateXML(virDomainPtr domain,
VIR_AUTOUNREF(virDomainCheckpointDefPtr) def = NULL; VIR_AUTOUNREF(virDomainCheckpointDefPtr) def = NULL;
virCheckFlags(VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE, NULL); virCheckFlags(VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE, NULL);
/* TODO: VIR_DOMAIN_CHECKPOINT_CREATE_QUIESCE */
if (redefine) { if (redefine) {
parse_flags |= VIR_DOMAIN_CHECKPOINT_PARSE_REDEFINE; parse_flags |= VIR_DOMAIN_CHECKPOINT_PARSE_REDEFINE;
...@@ -571,8 +570,6 @@ qemuCheckpointDelete(virDomainObjPtr vm, ...@@ -571,8 +570,6 @@ qemuCheckpointDelete(virDomainObjPtr vm,
return -1; return -1;
if (!metadata_only) { if (!metadata_only) {
/* Until qemu-img supports offline bitmap deletion, we are stuck
* with requiring a running guest */
if (!virDomainObjIsActive(vm)) { if (!virDomainObjIsActive(vm)) {
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s", virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
_("cannot delete checkpoint for inactive domain")); _("cannot delete checkpoint for inactive domain"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册