Re: [libvirt] [PATCH 2/4] libxl: queue domain event earlier in shutdown handler

2014-02-24 Thread Michal Privoznik
On 21.02.2014 00:02, Jim Fehlig wrote: The shutdown handler may restart a domain when handling a reboot event or when on_* is set to 'restart'. Restarting consists of calling libxlVmCleanup followed by libxlVmStart. libxlVmStart will emit a VIR_DOMAIN_EVENT_STARTED event, but the SHUTDOWN

Re: [libvirt] [PATCH 2/4] libxl: queue domain event earlier in shutdown handler

2014-02-24 Thread Jim Fehlig
Michal Privoznik wrote: On 21.02.2014 00:02, Jim Fehlig wrote: The shutdown handler may restart a domain when handling a reboot event or when on_* is set to 'restart'. Restarting consists of calling libxlVmCleanup followed by libxlVmStart. libxlVmStart will emit a VIR_DOMAIN_EVENT_STARTED