diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-15 14:34:39 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:02:57 -0300 |
commit | ff8701e59c6aec9461aa0c13f8f7e5a249aa62f3 (patch) | |
tree | 47e34188e4171242f47ec2f0e950e22ef290a184 /qmp.c | |
parent | 82ae3a51382793cadfa55fda4ba9c0e3f3645956 (diff) | |
download | qemu-ff8701e59c6aec9461aa0c13f8f7e5a249aa62f3.tar.gz qemu-ff8701e59c6aec9461aa0c13f8f7e5a249aa62f3.tar.bz2 qemu-ff8701e59c6aec9461aa0c13f8f7e5a249aa62f3.zip |
qapi: Convert stop
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp.c')
-rw-r--r-- | qmp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -76,3 +76,8 @@ void qmp_quit(Error **err) qemu_system_shutdown_request(); } +void qmp_stop(Error **errp) +{ + vm_stop(RUN_STATE_PAUSED); +} + |