Re: [libvirt-users] (no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[please provide subject lines; your email was nearly eaten by spam filters]

On 04/09/2013 03:51 PM, arvind viswanathan wrote:
> I wanted to check if event loop integration was supported even for remote
> applications using libvirt. My application would like to make non-blocking
> calls and also recv asynchronous notification remotely. Can some one point
> out if its supported.

Yes, libvirt is able to provide asynchronous event notifications.  Check
out
http://libvirt.org/html/libvirt-libvirt.html#virConnectDomainEventRegisterAny
for the API for registering your callback function to be called when the
right event happens.  Also, take a look at the examples/domain-events/
directory inside the libvirt tarball, which includes both C and python
examples for acting on asynchronous events.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]