qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC][PATCH v4 09/18] virtagent: add va_shutdown RPC


From: Jes Sorensen
Subject: Re: [Qemu-devel] [RFC][PATCH v4 09/18] virtagent: add va_shutdown RPC
Date: Thu, 18 Nov 2010 16:41:43 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.6

On 11/18/10 16:35, Anthony Liguori wrote:
> On 11/18/2010 08:17 AM, Jes Sorensen wrote:
>> On 11/16/10 17:01, Michael Roth wrote:
>>   
>>> RPC to initiate guest shutdown/reboot/powerdown
>>>      
>> Do we really need this? After all those events can be passed down via
>> ACPI?
>>    
> 
> Reboot can't be passed by ACPI.  This is why virDomainReboot is still
> not functional in KVM.  Every other hypervisor does something identical
> to this series.
> 
> And a hypervisor initiated shutdown ought to be treated differently than
> an ACPI shutdown.  Namely, it should correspond to an immediate shut
> down vs. prompting the user.
> 
> Not all OSes response to ACPI shutdown either FWIW.

Ok, fair enough.

I just would like to avoid duplicating functionality if we don't have to.

Cheers,
Jes



reply via email to

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