Displaying 3 results from an estimated 3 matches for "vir_domain_event_stop".
2014 Feb 19
1
Re: event-test.py cannot detects domain shutdown
...-git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
>> index 8e4242a..8d5e101 100644
>> --- a/src/libxl/libxl_driver.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,
>> +...
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
...+)
>
> diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
> index 8e4242a..8d5e101 100644
> --- a/src/libxl/libxl_driver.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_...