Previously we'd assign the default checkpoint bitmap names in
virDomainCheckpointAlignDisks. In cases when the checkpoint is redefined
without a domain XML virDomainCheckpointAlignDisks is not called.
Add an explicit call to virDomainCheckpointDefAssignBitmapNames to
restore functionality.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
if (virDomainCheckpointAlignDisks(def) < 0)
return -1;
+ } else {
+ if (virDomainCheckpointDefAssignBitmapNames(def) < 0)
+ return -1;
}
if (def->parent.parent_name &&