mirror of https://gitee.com/openkylin/libvirt.git
virDomainCheckpointAlignDisks: Unbreak error message
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
bfac424b05
commit
230655ba06
|
@ -312,8 +312,7 @@ virDomainCheckpointAlignDisks(virDomainCheckpointDefPtr def)
|
|||
/* Unlikely to have a guest without disks but technically possible. */
|
||||
if (!def->parent.dom->ndisks) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("domain must have at least one disk to perform "
|
||||
"checkpoints"));
|
||||
_("domain must have at least one disk to perform checkpoints"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue