[libvirt] Raising events for testing

arnaud.champion at devatom.fr arnaud.champion at devatom.fr
Fri Jan 28 14:46:19 UTC 2011


Weird, only domain lifecycle events works :( I do something wrong...

--------------------------------------------------
From: <arnaud.champion at devatom.fr>
Sent: Friday, January 28, 2011 2:23 PM
To: "Daniel P. Berrange" <berrange at redhat.com>
Cc: <libvir-list at redhat.com>
Subject: Re: [libvirt] Raising events for testing

> Many thanks Daniel ! I'll test that
>
> --------------------------------------------------
> From: "Daniel P. Berrange" <berrange at redhat.com>
> Sent: Friday, January 28, 2011 12:00 PM
> To: <arnaud.champion at devatom.fr>
> Cc: <libvir-list at redhat.com>
> Subject: Re: [libvirt] Raising events for testing
>
>> On Thu, Jan 27, 2011 at 11:50:05PM +0100, arnaud.champion at devatom.fr 
>> wrote:
>>> ?Hi,
>>>
>>> I have binded the new API for domain events and callbacks in C#. It 
>>> seems to work (LifeCycle events works for sure, I have tested them). Now 
>>> I want to test other event types and I don't know how to raise them for 
>>> test (RTC change, WatchDog, Graphics and so on...).
>>>
>>> Anyone can point me on the right thing I have to do to raise these 
>>> events ?
>>
>> RTC change -> In your guest OS change the hardware clock
>> WatchDog - Add a <watchdog> device to XML and in Linux  'cat 
>> /dev/watchdog' and wait 60 seconds
>> Graphics -> Connect to the guest VNC
>> Reboot  - Reboot the guest
>> I/O error - Run a guest on NFS with the 'soft,intr' flags on the mount 
>> point. THen stop the NFS server and do I/O in the guest and wait a while
>>
>> Daniel
>>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list 





More information about the libvir-list mailing list