On Sun, Apr 27, 2014 at 5:00 PM, <libvirt-users-request@redhat.com> wrote:
Send libvirt-users mailing list submissions to
        libvirt-users@redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.redhat.com/mailman/listinfo/libvirt-users
or, via email, send a message with subject or body 'help' to
        libvirt-users-request@redhat.com

You can reach the person managing the list at
        libvirt-users-owner@redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of libvirt-users digest..."


Today's Topics:

   1. Ability of a VM to detect Libvirt events. (Taimur Al Said)
   2. Re: Ability of a VM to detect Libvirt events. (Brian Rak)


----------------------------------------------------------------------

Message: 1
Date: Sat, 26 Apr 2014 22:46:30 +0100
From: Taimur Al Said <alsaidts@gmail.com>
To: libvirt-users@redhat.com
Subject: [libvirt-users] Ability of a VM to detect Libvirt events.
Message-ID:
        <CACwu6qRADOyJ6EB_OD=YZgbogNqQLQPxOJfRXshGcqosgDmPKg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi there,

Let's assume a libvirt event occurred on a VM, i.e an event like pause VM
or reboot VM or any other libvirt event. Can the VM determine that such
event was originated by libvirt? ---or in a more general term by the
hypervisor? If yes, how can this be done in theory?

Thanks in advance,

Regards,
Taimur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/libvirt-users/attachments/20140426/4699d43e/attachment.html>

------------------------------

Message: 2
Date: Sat, 26 Apr 2014 18:46:42 -0400
From: Brian Rak <brak@gameservers.com>
To: libvirt-users@redhat.com
Subject: Re: [libvirt-users] Ability of a VM to detect Libvirt events.
Message-ID: <535C3752.5070609@gameservers.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

How are you thinking that a VM would be paused/rebooted via something
other then the hypervisor?

On 4/26/2014 5:46 PM, Taimur Al Said wrote:
> Hi there,
>
> Let's assume a libvirt event occurred on a VM, i.e an event like pause
> VM or reboot VM or any other libvirt event. Can the VM determine that
> such event was originated by libvirt? ---or in a more general term by
> the hypervisor? If yes, how can this be done in theory?
>
> Thanks in advance,
>
> Regards,
> Taimur
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/libvirt-users/attachments/20140426/d18e0d87/attachment.html>

------------------------------

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

End of libvirt-users Digest, Vol 52, Issue 39
*********************************************

Thanks,
I guess my query was clear. However, I'll make it clearer. 
I know that the such events are caused by the hypervisor. Either directly or using tools such as Libvirt. The question is: can such events be detectable from the VM level? In another word, can the VM tell if it was being paused/rebooted/migrated/etc? 

Best regards,
Taimur