From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54663 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ6WO-0004FI-GZ for qemu-devel@nongnu.org; Thu, 18 Nov 2010 10:35:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ6WL-0003z0-Os for qemu-devel@nongnu.org; Thu, 18 Nov 2010 10:35:35 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:41043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ6WL-0003xR-Mi for qemu-devel@nongnu.org; Thu, 18 Nov 2010 10:35:33 -0500 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e5.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id oAIFDpow020464 for ; Thu, 18 Nov 2010 10:13:51 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oAIFZRdA369668 for ; Thu, 18 Nov 2010 10:35:27 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oAIFZRFt029605 for ; Thu, 18 Nov 2010 13:35:27 -0200 Message-ID: <4CE547BA.1030202@linux.vnet.ibm.com> Date: Thu, 18 Nov 2010 09:35:22 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC][PATCH v4 09/18] virtagent: add va_shutdown RPC References: <1289923320-5638-1-git-send-email-mdroth@linux.vnet.ibm.com> <1289923320-5638-10-git-send-email-mdroth@linux.vnet.ibm.com> <4CE53568.4000307@redhat.com> In-Reply-To: <4CE53568.4000307@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes Sorensen Cc: abeekhof@redhat.com, ryanh@us.ibm.com, agl@linux.vnet.ibm.com, Michael Roth , qemu-devel@nongnu.org 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. Regards, Anthony Liguori > Cheers, > Jes > >