Re: [libvirt] [PATCH 2/2] libxl: send lifecycle event on PMSuspend

2019-08-20 Thread Daniel Henrique Barboza
On 8/13/19 6:06 PM, Jim Fehlig wrote: After a successful call to libxl_domain_suspend_only(), set domain state to VIR_DOMAIN_PMSUSPENDED and send lifecycle event. Signed-off-by: Jim Fehlig --- (pure code review, sadly I don't have access to a XEN env to test it) Reviewed-by: Daniel Henriq

[libvirt] [PATCH 2/2] libxl: send lifecycle event on PMSuspend

2019-08-13 Thread Jim Fehlig
After a successful call to libxl_domain_suspend_only(), set domain state to VIR_DOMAIN_PMSUSPENDED and send lifecycle event. Signed-off-by: Jim Fehlig --- src/libxl/libxl_driver.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index