search for: vir_domain_shutoff_shutdown

Displaying 3 results from an estimated 3 matches for "vir_domain_shutoff_shutdown".

2014 Feb 19
1
Re: event-test.py cannot detects domain shutdown
...} else { >> + dom_event = virDomainEventLifecycleNewFromObj(vm, >> + VIR_DOMAIN_EVENT_STOPPED, >> + VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN); >> reason = VIR_DOMAIN_SHUTOFF_SHUTDOWN; >> } >> libxlVmReap(driver, vm, reason); >> > > ACK, looks fine to me, but I'm guessing the REBOOT handling right below also > needs an event dispatched. Probably best to see what the qemu or test driver > do for reboot and copy it....
2014 Feb 19
2
Re: event-test.py cannot detects domain shutdown
Cole Robinson wrote: > On 02/18/2014 05:12 AM, Kim Larry wrote: > >> The thing I found today is that if libvirt uses xend driver, shutdown events >> are delivered, but if libvirt uses libxl drvier, doesn't show up anything. It >> seems there are bugs on shutdown event, so I did dig into the libvirt source >> briefly, but I couldn't find where libxl driver
2014 Feb 19
0
Re: event-test.py cannot detects domain shutdown
..._CRASHED; > } else { > + dom_event = virDomainEventLifecycleNewFromObj(vm, > + VIR_DOMAIN_EVENT_STOPPED, > + VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN); > reason = VIR_DOMAIN_SHUTOFF_SHUTDOWN; > } > libxlVmReap(driver, vm, reason); ACK, looks fine to me, but I'm guessing the REBOOT handling right below also needs an event dispatched. Probably best to see what the qemu or test driver do for reboot and copy it. - Cole