int autostart;
unsigned int id;
char *str, uuid[VIR_UUID_STRING_BUFLEN];
+ int has_managed_save = 0;
if (!vshConnectionUsability(ctl, ctl->conn))
return false;
autostart ? _("enable") : _("disable") );
}
+ has_managed_save = virDomainHasManagedSaveImage(dom, 0);
+ if (has_managed_save < 0)
+ vshPrint(ctl, "%-15s %s\n", _("Managed save:"), _("unknown"));
+ else
+ vshPrint(ctl, "%-15s %s\n", _("Managed save:"),
+ has_managed_save ? _("yes") : _("no"));
+
/* Security model and label information */
memset(&secmodel, 0, sizeof secmodel);
if (virNodeGetSecurityModel(ctl->conn, &secmodel) == -1) {
state at a later time. When the virsh B<start> command is next run for
the domain, it will automatically be started from this saved state.
+The B<dominfo> command can be used to query whether a domain currently
+has any managed save image.
+
=item B<managedsave-remove> I<domain-id>
Remove the B<managedsave> state file for a domain, if it exists. This