QMP: Move STOP event into do_vm_stop()
commit6b8f8fff78185cb260d1ca3c30352c0bf5601d36
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 25 Feb 2010 15:06:59 +0000 (25 12:06 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Mar 2010 17:30:01 +0000 (8 11:30 -0600)
treea3558ffdc1314824429e303914b9a7067b94e04c
parent554a310bfe319a56de9d768efdb252115129d2a5
QMP: Move STOP event into do_vm_stop()

I've introduced the STOP event in the main loop, this is wrong
as it will be only emitted if the io thread is enabled.

This fixes that by moving the STOP event to do_vm_stop().

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c