mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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 <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
3d54abc7b7
commit
6ed2c484f2
4 changed files with 17 additions and 0 deletions
|
@ -423,6 +423,9 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
|
|||
case QEVENT_STOP:
|
||||
event_name = "STOP";
|
||||
break;
|
||||
case QEVENT_RESUME:
|
||||
event_name = "RESUME";
|
||||
break;
|
||||
case QEVENT_VNC_CONNECTED:
|
||||
event_name = "VNC_CONNECTED";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue