On 09/12/2018 08:55 AM, Jiri Denemark wrote: > Thanks to the previous commit the RESUME event handler knows what reason > should be used when changing the domain state to VIR_DOMAIN_RUNNING, but > the emitted VIR_DOMAIN_EVENT_RESUMED event still uses a generic > VIR_DOMAIN_EVENT_RESUMED_UNPAUSED detail. Luckily, the event detail can > be easily deduced from the running reason, which saves us from having to > pass one more value to the handler. > > Signed-off-by: Jiri Denemark <[email protected]> > --- > src/qemu/qemu_domain.c | 29 +++++++++++++++++++++++++++++ > src/qemu/qemu_domain.h | 3 +++ > src/qemu/qemu_process.c | 11 +++++++---- > 3 files changed, 39 insertions(+), 4 deletions(-) > Reviewed-by: John Ferlan <[email protected]> John -- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
- [libvirt] [PATCH 0/5] qemu: Change the way we generate VIR_D... Jiri Denemark
- [libvirt] [PATCH 3/5] qemu: Pass running reason to RESU... Jiri Denemark
- Re: [libvirt] [PATCH 3/5] qemu: Pass running reason... John Ferlan
- Re: [libvirt] [PATCH 3/5] qemu: Pass running re... Jiri Denemark
- [libvirt] [PATCH 1/5] qemu: Properly report VIR_DOMAIN_... Jiri Denemark
- [libvirt] [PATCH 4/5] qemu: Map running reason to resum... Jiri Denemark
- Re: [libvirt] [PATCH 4/5] qemu: Map running reason ... John Ferlan
- [libvirt] [PATCH 5/5] qemu: Avoid duplicate resume even... Jiri Denemark
- Re: [libvirt] [PATCH 5/5] qemu: Avoid duplicate res... John Ferlan
- Re: [libvirt] [PATCH 5/5] qemu: Avoid duplicate... Jiri Denemark
- [libvirt] [PATCH 2/5] qemu: Report more appropriate run... Jiri Denemark
- Re: [libvirt] [PATCH 0/5] qemu: Change the way we gener... Jiri Denemark
