Revision 6d4a2b3a hmp-commands.hx

b/hmp-commands.hx
53 53
ETEXI
54 54

  
55 55
    {
56
        .name       = "block_resize",
57
        .args_type  = "device:B,size:o",
58
        .params     = "device size",
59
        .help       = "resize a block image",
60
        .user_print = monitor_user_noop,
61
        .mhandler.cmd_new = do_block_resize,
62
    },
63

  
64
STEXI
65
@item block_resize
66
@findex block_resize
67
Resize a block image while a guest is running.  Usually requires guest
68
action to see the updated size.  Resize to a lower size is supported,
69
but should be used with extreme caution.  Note that this command only
70
resizes image files, it can not resize block devices like LVM volumes.
71
ETEXI
72

  
73

  
74
    {
56 75
        .name       = "eject",
57 76
        .args_type  = "force:-f,device:B",
58 77
        .params     = "[-f] device",

Also available in: Unified diff