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 | 5f158f21f9b2ff129b5154bccf6212692ac9f6c1 (patch) | |
tree | 47e34188e4171242f47ec2f0e950e22ef290a184 /qmp.c | |
parent | 7a7f325e053c5079ce4b7b8e9e2b0f4c4c30ade8 (diff) | |
download | qemu-5f158f21f9b2ff129b5154bccf6212692ac9f6c1.zip qemu-5f158f21f9b2ff129b5154bccf6212692ac9f6c1.tar.gz qemu-5f158f21f9b2ff129b5154bccf6212692ac9f6c1.tar.bz2 |
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); +} + |