aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-09-28 11:06:15 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-10-04 11:02:57 -0300
commit5bc465e4b1b6f4582a400c0a7033a1c841744278 (patch)
treea720bd699684b208c6d7c7a2f0c4172b0d8419aa /hmp.c
parentqapi: Convert system_reset (diff)
downloadqemu-kvm-5bc465e4b1b6f4582a400c0a7033a1c841744278.tar.gz
qemu-kvm-5bc465e4b1b6f4582a400c0a7033a1c841744278.tar.bz2
qemu-kvm-5bc465e4b1b6f4582a400c0a7033a1c841744278.zip
qapi: Convert system_powerdown
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index 24f30bc94..34416fc3c 100644
--- a/hmp.c
+++ b/hmp.c
@@ -109,3 +109,8 @@ void hmp_system_reset(Monitor *mon, const QDict *qdict)
{
qmp_system_reset(NULL);
}
+
+void hmp_system_powerdown(Monitor *mon, const QDict *qdict)
+{
+ qmp_system_powerdown(NULL);
+}