mirror of https://github.com/xemu-project/xemu.git
hmp-commands.hx: fix badly merged client_migrate_info command
client_migrate_info was merged badly, placing it between the command and the documentation for another command. In addition it did not respect the general rule of hmp-commands.hx, of having command definition before the documentation. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
7d82af38b7
commit
2ea720dba5
|
@ -821,16 +821,12 @@ Set maximum tolerated downtime (in seconds) for migration.
|
||||||
ETEXI
|
ETEXI
|
||||||
|
|
||||||
{
|
{
|
||||||
.name = "snapshot_blkdev",
|
.name = "client_migrate_info",
|
||||||
.args_type = "device:B,snapshot_file:s?,format:s?",
|
.args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
|
||||||
.params = "device [new-image-file] [format]",
|
.params = "protocol hostname port tls-port cert-subject",
|
||||||
.help = "initiates a live snapshot\n\t\t\t"
|
.help = "send migration info to spice/vnc client",
|
||||||
"of device. If a new image file is specified, the\n\t\t\t"
|
.user_print = monitor_user_noop,
|
||||||
"new image file will become the new root image.\n\t\t\t"
|
.mhandler.cmd_new = client_migrate_info,
|
||||||
"If format is specified, the snapshot file will\n\t\t\t"
|
|
||||||
"be created in that format. Otherwise the\n\t\t\t"
|
|
||||||
"snapshot will be internal! (currently unsupported)",
|
|
||||||
.mhandler.cmd_new = do_snapshot_blkdev,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
STEXI
|
STEXI
|
||||||
|
@ -842,12 +838,16 @@ new parameters (if specified) once the vm migration finished successfully.
|
||||||
ETEXI
|
ETEXI
|
||||||
|
|
||||||
{
|
{
|
||||||
.name = "client_migrate_info",
|
.name = "snapshot_blkdev",
|
||||||
.args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
|
.args_type = "device:B,snapshot_file:s?,format:s?",
|
||||||
.params = "protocol hostname port tls-port cert-subject",
|
.params = "device [new-image-file] [format]",
|
||||||
.help = "send migration info to spice/vnc client",
|
.help = "initiates a live snapshot\n\t\t\t"
|
||||||
.user_print = monitor_user_noop,
|
"of device. If a new image file is specified, the\n\t\t\t"
|
||||||
.mhandler.cmd_new = client_migrate_info,
|
"new image file will become the new root image.\n\t\t\t"
|
||||||
|
"If format is specified, the snapshot file will\n\t\t\t"
|
||||||
|
"be created in that format. Otherwise the\n\t\t\t"
|
||||||
|
"snapshot will be internal! (currently unsupported)",
|
||||||
|
.mhandler.cmd_new = do_snapshot_blkdev,
|
||||||
},
|
},
|
||||||
|
|
||||||
STEXI
|
STEXI
|
||||||
|
|
Loading…
Reference in New Issue