Displaying 3 results from an estimated 3 matches for "dom_event".
2014 Feb 19
1
Re: event-test.py cannot detects domain shutdown
...c/libxl/libxl_driver.c
>> @@ -383,6 +383,9 @@ libxlDomainShutdownThread(void *opaque)
>> VIR_DOMAIN_EVENT_STOPPED_CRASHED);
>> reason = VIR_DOMAIN_SHUTOFF_CRASHED;
>> } else {
>> + dom_event = virDomainEventLifecycleNewFromObj(vm,
>> + VIR_DOMAIN_EVENT_STOPPED,
>> + VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN);
>> reason = VIR_DOMAIN_SHUTOFF_SHUTDOWN;
>> }
>...
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
...iver.c
> +++ b/src/libxl/libxl_driver.c
> @@ -383,6 +383,9 @@ libxlDomainShutdownThread(void *opaque)
> VIR_DOMAIN_EVENT_STOPPED_CRASHED);
> reason = VIR_DOMAIN_SHUTOFF_CRASHED;
> } else {
> + dom_event = virDomainEventLifecycleNewFromObj(vm,
> + VIR_DOMAIN_EVENT_STOPPED,
> + VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN);
> reason = VIR_DOMAIN_SHUTOFF_SHUTDOWN;
> }
> l...