qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] How does a guest OS differentiate between a Reboot/Shut


From: Srinivasan J
Subject: Re: [Qemu-devel] How does a guest OS differentiate between a Reboot/Shutdown ACPI event
Date: Tue, 27 Sep 2016 07:06:57 +0530

Thank you Paolo for replying. I was able to confirm this.

Regards,
Srini

On Mon, Sep 26, 2016 at 12:40 PM, Paolo Bonzini <address@hidden> wrote:
>
>
> On 26/09/2016 04:38, Srinivasan J wrote:
>>
>> I have Ubuntu 14.04.1 (ubuntu-14.04.1-server-amd64.iso) guest running
>> in a KVM host. The host is running Ubuntu 16.04. I'm trying to find
>> out how Ubuntu 14.04.1 differentiates between virsh shutdown and virsh
>> reboot commands issued in the host. I see that in both cases the ACPI
>> event seen at the guest are exactly same. The guest however correctly
>> shuts down on issuing "virsh shutdown" and correctly reboots on
>> issuing "virsh reboot".
>
> In the case of "virsh reboot", libvirt restarts the guest as soon as the
> shutdown is complete.
>
> Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]