From 6ed2c484f261fd8bd217f855b9e5e5f981e63f0a Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Tue, 27 Apr 2010 20:35:59 -0300 Subject: QMP: Introduce RESUME event It's emitted when the Virtual Machine resumes execution. We currently have the STOP event but don't have the matching RESUME one, this means that clients are notified when the VM is stopped but don't get anything when it resumes. Let's fix that as it's already causing some trouble to libvirt. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- vl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 9caf96d399..999aac8cc5 100644 --- a/vl.c +++ b/vl.c @@ -1689,6 +1689,7 @@ void vm_start(void) vm_running = 1; vm_state_notify(1, 0); resume_all_vcpus(); + monitor_protocol_event(QEVENT_RESUME, NULL); } } -- cgit v1.2.3