
19 Sep
2018
19 Sep
'18
4:49 p.m.
On 09/12/2018 08:55 AM, Jiri Denemark wrote:
VIR_DOMAIN_EVENT_RESUMED_FROM_SNAPSHOT was defined but not used anywhere in our event generation code. This fixes qemuDomainRevertToSnapshot to properly report why the domain was resumed.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: John Ferlan <jferlan@redhat.com> John So the event detail was introduced by commit c1ff5dc63d, but never added to anything. Even when commit 88fe7a4b originally implemented the "was_stopped" as STARTED_FROM_SNAPSHOT. When I changed the logic in commit 5efcfb96 it doesn't seem I was considering the "detail", but rather just the event.