Revision 43076664
b/monitor.c | ||
---|---|---|
1301 | 1301 |
qemu_system_reset_request(); |
1302 | 1302 |
} |
1303 | 1303 |
|
1304 |
static void do_system_powerdown(Monitor *mon, const QDict *qdict) |
|
1304 |
/** |
|
1305 |
* do_system_powerdown(): Issue a machine powerdown |
|
1306 |
*/ |
|
1307 |
static void do_system_powerdown(Monitor *mon, const QDict *qdict, |
|
1308 |
QObject **ret_data) |
|
1305 | 1309 |
{ |
1306 | 1310 |
qemu_system_powerdown_request(); |
1307 | 1311 |
} |
b/qemu-monitor.hx | ||
---|---|---|
482 | 482 |
.args_type = "", |
483 | 483 |
.params = "", |
484 | 484 |
.help = "send system power down event", |
485 |
.mhandler.cmd = do_system_powerdown, |
|
485 |
.user_print = monitor_user_noop, |
|
486 |
.mhandler.cmd_new = do_system_powerdown, |
|
486 | 487 |
}, |
487 | 488 |
|
488 | 489 |
STEXI |
Also available in: Unified diff