Re: [libvirt] [PATCH v2 5/5] qemu: Avoid duplicate resume events and state changes

2018-09-25 Thread John Ferlan
On 9/25/18 9:19 AM, Jiri Denemark wrote: > The only place where VIR_DOMAIN_EVENT_RESUMED should be generated is the > RESUME event handler to make sure we don't generate duplicate events or > state changes. In the worse case the duplicity can revert or cover > changes done by other event

[libvirt] [PATCH v2 5/5] qemu: Avoid duplicate resume events and state changes

2018-09-25 Thread Jiri Denemark
The only place where VIR_DOMAIN_EVENT_RESUMED should be generated is the RESUME event handler to make sure we don't generate duplicate events or state changes. In the worse case the duplicity can revert or cover changes done by other event handlers. For example, after QEMU sent RESUME,