summaryrefslogtreecommitdiff
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
commita5a2485117271f3b2fd72b851dc3d20585e7c077 (patch)
treea720bd699684b208c6d7c7a2f0c4172b0d8419aa /hmp.c
parentb027995f6453ea703e0d894e6380707ce8ea0ce9 (diff)
downloadqemu-a5a2485117271f3b2fd72b851dc3d20585e7c077.tar.gz
qemu-a5a2485117271f3b2fd72b851dc3d20585e7c077.tar.bz2
qemu-a5a2485117271f3b2fd72b851dc3d20585e7c077.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 24f30bc948..34416fc3c7 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);
+}