Revision 3475187d monitor.c
b/monitor.c | ||
---|---|---|
767 | 767 |
qemu_system_reset_request(); |
768 | 768 |
} |
769 | 769 |
|
770 |
static void do_system_powerdown(void) |
|
771 |
{ |
|
772 |
qemu_system_powerdown_request(); |
|
773 |
} |
|
774 |
|
|
770 | 775 |
#if defined(TARGET_I386) |
771 | 776 |
static void print_pte(uint32_t addr, uint32_t pte, uint32_t mask) |
772 | 777 |
{ |
... | ... | |
922 | 927 |
"keys", "send keys to the VM (e.g. 'sendkey ctrl-alt-f1')" }, |
923 | 928 |
{ "system_reset", "", do_system_reset, |
924 | 929 |
"", "reset the system" }, |
930 |
{ "system_powerdown", "", do_system_powerdown, |
|
931 |
"", "send system power down event" }, |
|
925 | 932 |
{ "sum", "ii", do_sum, |
926 | 933 |
"addr size", "compute the checksum of a memory region" }, |
927 | 934 |
{ NULL, NULL, }, |
Also available in: Unified diff