qapi: Convert system_powerdown

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
Luiz Capitulino 2011-09-28 11:06:15 -03:00
parent 38d226535a
commit 5bc465e4b1
5 changed files with 26 additions and 2 deletions

5
qmp.c
View file

@ -85,3 +85,8 @@ void qmp_system_reset(Error **errp)
{
qemu_system_reset_request();
}
void qmp_system_powerdown(Error **erp)
{
qemu_system_powerdown_request();
}