Re: Determine state of the guest OS/kernel from host

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

 



On 08/03/2012 12:39 PM, Harish Patil wrote:

>>> Is there a way that I can register with libvirt for the state change
>>> notifications in the guest OS?

> Thanks Eric. Understand that there is no such facility at the libvirt
> level. Do you know whether such notification can be received/trapped at the
> qemu level itself ? I had once checked that QEVENT_RESET event is emitted
> when the guest OS reboots.

Certain guest events such as shutdown ARE detected by qemu, and
therefore feed a lifecycle event that you can then monitor via libvirt.
 We even have an example program shipped in the libvirt sources for
tracking all events in the lifecycle of a domain.  However, I don't know
if a guest reboot is always detected by qemu.

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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux