diff options
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 27d90a24a..c6aa564a6 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1354,6 +1354,19 @@ Set the encrypted device @var{device} password to @var{password} ETEXI { + .name = "cpu_set", + .args_type = "cpu:i,state:s", + .params = "cpu [online|offline]", + .help = "change cpu state", + .mhandler.cmd = do_cpu_set_nr, + }, + +STEXI +@item cpu_set @var{cpu} [online|offline] +Set CPU @var{cpu} online or offline. +ETEXI + + { .name = "set_password", .args_type = "protocol:s,password:s,connected:s?", .params = "protocol password action-if-connected", |