.args_type = "",
.params = "",
.help = "quit the emulator",
- .mhandler.cmd = do_quit,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_quit,
},
STEXI
{
.name = "eject",
- .args_type = "force:-f,filename:B",
+ .args_type = "force:-f,device:B",
.params = "[-f] device",
.help = "eject a removable medium (use -f to force it)",
- .mhandler.cmd = do_eject,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_eject,
},
STEXI
.args_type = "device:B,target:F,arg:s?",
.params = "device filename [format]",
.help = "change a removable medium, optional format",
- .mhandler.cmd = do_change,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_change,
},
STEXI
.args_type = "",
.params = "",
.help = "stop emulation",
- .mhandler.cmd = do_stop,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_stop,
},
STEXI
.args_type = "",
.params = "",
.help = "resume emulation",
- .mhandler.cmd = do_cont,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_cont,
},
STEXI
.args_type = "",
.params = "",
.help = "reset the system",
- .mhandler.cmd = do_system_reset,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_system_reset,
},
STEXI
.args_type = "",
.params = "",
.help = "send system power down event",
- .mhandler.cmd = do_system_powerdown,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_system_powerdown,
},
STEXI
.args_type = "val:l,size:i,filename:s",
.params = "addr size file",
.help = "save to disk virtual memory dump starting at 'addr' of size 'size'",
- .mhandler.cmd = do_memory_save,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_memory_save,
},
STEXI
.args_type = "val:l,size:i,filename:s",
.params = "addr size file",
.help = "save to disk physical memory dump starting at 'addr' of size 'size'",
- .mhandler.cmd = do_physical_memory_save,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_physical_memory_save,
},
STEXI
{
.name = "migrate",
- .args_type = "detach:-d,uri:s",
- .params = "[-d] uri",
- .help = "migrate to URI (using -d to not wait for completion)",
- .mhandler.cmd = do_migrate,
+ .args_type = "detach:-d,blk:-b,inc:-i,uri:s",
+ .params = "[-d] [-b] [-i] uri",
+ .help = "migrate to URI (using -d to not wait for completion)"
+ "\n\t\t\t -b for migration without shared storage with"
+ " full copy of disk\n\t\t\t -i for migration without "
+ "shared storage with incremental copy of disk "
+ "(base image shared between src and destination)",
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_migrate,
},
+
STEXI
-@item migrate [-d] @var{uri}
+@item migrate [-d] [-b] [-i] @var{uri}
Migrate to @var{uri} (using -d to not wait for completion).
+ -b for migration with full copy of disk
+ -i for migration with incremental copy of disk (base image is shared)
ETEXI
{
.args_type = "",
.params = "",
.help = "cancel the current VM migration",
- .mhandler.cmd = do_migrate_cancel,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_migrate_cancel,
},
STEXI
.args_type = "pci_addr:s,type:s,opts:s?",
.params = "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...",
.help = "hot-add PCI device",
- .mhandler.cmd = pci_device_hot_add,
+ .user_print = pci_device_hot_add_print,
+ .mhandler.cmd_new = pci_device_hot_add,
},
#endif
.args_type = "pci_addr:s",
.params = "[[<domain>:]<bus>:]<slot>",
.help = "hot remove PCI device",
- .mhandler.cmd = do_pci_device_hot_remove,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_pci_device_hot_remove,
},
#endif
{
.name = "balloon",
- .args_type = "value:i",
+ .args_type = "value:M",
.params = "target",
.help = "request VM to change it's memory allocation (in MB)",
- .mhandler.cmd = do_balloon,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_balloon,
},
STEXI
.args_type = "fdname:s",
.params = "getfd name",
.help = "receive a file descriptor via SCM rights and assign it a name",
- .mhandler.cmd = do_getfd,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_getfd,
},
STEXI
.args_type = "fdname:s",
.params = "closefd name",
.help = "close a file descriptor previously passed via SCM rights",
- .mhandler.cmd = do_closefd,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_closefd,
},
STEXI
Close the file descriptor previously assigned to @var{fdname} using the
@code{getfd} command. This is only needed if the file descriptor was never
used by another monitor command.
+ETEXI
+
+ {
+ .name = "block_passwd",
+ .args_type = "device:B,password:s",
+ .params = "block_passwd device password",
+ .help = "set the password of encrypted block devices",
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_block_set_passwd,
+ },
+
+STEXI
+@item block_passwd @var{device} @var{password}
+Set the encrypted device @var{device} password to @var{password}
ETEXI
STEXI