.flags = VSH_OFLAG_REQ,
.help = N_("domain name, id or uuid")
},
- {.name = "duration",
- .type = VSH_OT_INT,
- .flags = VSH_OFLAG_REQ_OPT,
- .help = N_("duration in seconds")
- },
{.name = "target",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
"disk(Suspend-to-Disk), "
"hybrid(Hybrid-Suspend)")
},
+ {.name = "duration",
+ .type = VSH_OT_INT,
+ .flags = VSH_OFLAG_REQ_OPT,
+ .help = N_("duration in seconds")
+ },
{.name = NULL}
};
};
static const vshCmdOptDef opts_save[] = {
- {.name = "bypass-cache",
- .type = VSH_OT_BOOL,
- .help = N_("avoid file system cache when saving")
- },
{.name = "domain",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
.flags = VSH_OFLAG_REQ,
.help = N_("where to save the data")
},
+ {.name = "bypass-cache",
+ .type = VSH_OT_BOOL,
+ .help = N_("avoid file system cache when saving")
+ },
{.name = "xml",
.type = VSH_OT_STRING,
.help = N_("filename containing updated XML for the target")
};
static const vshCmdOptDef opts_managedsave[] = {
- {.name = "bypass-cache",
- .type = VSH_OT_BOOL,
- .help = N_("avoid file system cache when saving")
- },
{.name = "domain",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
.help = N_("domain name, id or uuid")
},
+ {.name = "bypass-cache",
+ .type = VSH_OT_BOOL,
+ .help = N_("avoid file system cache when saving")
+ },
{.name = "running",
.type = VSH_OT_BOOL,
.help = N_("set domain to be running on next start")
};
static const vshCmdOptDef opts_dump[] = {
+ {.name = "domain",
+ .type = VSH_OT_DATA,
+ .flags = VSH_OFLAG_REQ,
+ .help = N_("domain name, id or uuid")
+ },
+ {.name = "file",
+ .type = VSH_OT_DATA,
+ .flags = VSH_OFLAG_REQ,
+ .help = N_("where to dump the core")
+ },
{.name = "live",
.type = VSH_OT_BOOL,
.help = N_("perform a live core dump if supported")
.type = VSH_OT_BOOL,
.help = N_("reset the domain after core dump")
},
- {.name = "domain",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("domain name, id or uuid")
- },
- {.name = "file",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("where to dump the core")
- },
{.name = "verbose",
.type = VSH_OT_BOOL,
.help = N_("display the progress of dump")
.flags = VSH_OFLAG_REQ,
.help = N_("domain name, id or uuid")
},
+ {.name = "uri",
+ .type = VSH_OT_DATA,
+ .flags = VSH_OFLAG_REQ,
+ .help = N_("URI of the namespace")
+ },
{.name = "live",
.type = VSH_OT_BOOL,
.help = N_("modify/get running state")
.type = VSH_OT_BOOL,
.help = N_("use an editor to change the metadata")
},
- {.name = "uri",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("URI of the namespace")
- },
{.name = "key",
.type = VSH_OT_DATA,
.help = N_("key to be used as a namespace identifier"),
};
static const vshCmdOptDef opts_migrate[] = {
+ {.name = "domain",
+ .type = VSH_OT_DATA,
+ .flags = VSH_OFLAG_REQ,
+ .help = N_("domain name, id or uuid")
+ },
+ {.name = "desturi",
+ .type = VSH_OT_DATA,
+ .flags = VSH_OFLAG_REQ,
+ .help = N_("connection URI of the destination host as seen from the client(normal migration) or source(p2p migration)")
+ },
{.name = "live",
.type = VSH_OT_BOOL,
.help = N_("live migration")
.type = VSH_OT_BOOL,
.help = N_("abort on soft errors during migration")
},
- {.name = "domain",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("domain name, id or uuid")
- },
- {.name = "desturi",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("connection URI of the destination host as seen from the client(normal migration) or source(p2p migration)")
- },
{.name = "migrateuri",
.type = VSH_OT_DATA,
.help = N_("migration URI, usually can be omitted")