<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 27, 2014 at 5:00 PM,  <span dir="ltr"><<a href="mailto:libvirt-users-request@redhat.com" target="_blank">libvirt-users-request@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send libvirt-users mailing list submissions to<br>
        <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:libvirt-users-request@redhat.com">libvirt-users-request@redhat.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:libvirt-users-owner@redhat.com">libvirt-users-owner@redhat.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of libvirt-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Ability of a VM to detect Libvirt events. (Taimur Al Said)<br>
   2. Re: Ability of a VM to detect Libvirt events. (Brian Rak)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 26 Apr 2014 22:46:30 +0100<br>
From: Taimur Al Said <<a href="mailto:alsaidts@gmail.com">alsaidts@gmail.com</a>><br>
To: <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
Subject: [libvirt-users] Ability of a VM to detect Libvirt events.<br>
Message-ID:<br>
        <CACwu6qRADOyJ6EB_OD=<a href="mailto:YZgbogNqQLQPxOJfRXshGcqosgDmPKg@mail.gmail.com">YZgbogNqQLQPxOJfRXshGcqosgDmPKg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi there,<br>
<br>
Let's assume a libvirt event occurred on a VM, i.e an event like pause VM<br>
or reboot VM or any other libvirt event. Can the VM determine that such<br>
event was originated by libvirt? ---or in a more general term by the<br>
hypervisor? If yes, how can this be done in theory?<br>
<br>
Thanks in advance,<br>
<br>
Regards,<br>
Taimur<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.redhat.com/archives/libvirt-users/attachments/20140426/4699d43e/attachment.html" target="_blank">https://www.redhat.com/archives/libvirt-users/attachments/20140426/4699d43e/attachment.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 26 Apr 2014 18:46:42 -0400<br>
From: Brian Rak <<a href="mailto:brak@gameservers.com">brak@gameservers.com</a>><br>
To: <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
Subject: Re: [libvirt-users] Ability of a VM to detect Libvirt events.<br>
Message-ID: <<a href="mailto:535C3752.5070609@gameservers.com">535C3752.5070609@gameservers.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
How are you thinking that a VM would be paused/rebooted via something<br>
other then the hypervisor?<br>
<br>
On 4/26/2014 5:46 PM, Taimur Al Said wrote:<br>
> Hi there,<br>
><br>
> Let's assume a libvirt event occurred on a VM, i.e an event like pause<br>
> VM or reboot VM or any other libvirt event. Can the VM determine that<br>
> such event was originated by libvirt? ---or in a more general term by<br>
> the hypervisor? If yes, how can this be done in theory?<br>
><br>
> Thanks in advance,<br>
><br>
> Regards,<br>
> Taimur<br>
><br>
><br>
> _______________________________________________<br>
> libvirt-users mailing list<br>
> <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.redhat.com/archives/libvirt-users/attachments/20140426/d18e0d87/attachment.html" target="_blank">https://www.redhat.com/archives/libvirt-users/attachments/20140426/d18e0d87/attachment.html</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
<br>
End of libvirt-users Digest, Vol 52, Issue 39<br>
*********************************************<br>
</blockquote></div><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">I guess my query was clear. However, I'll make it clearer. </div><div class="gmail_extra">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? </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Taimur</div><div class="gmail_extra"><br></div></div>