Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOXj3-0004GR-Vv for qemu-devel@nongnu.org; Wed, 08 Jul 2009 10:02:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOXiy-0004Ck-G6 for qemu-devel@nongnu.org; Wed, 08 Jul 2009 10:02:20 -0400 Received: from [199.232.76.173] (port=50708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOXiy-0004CY-9a for qemu-devel@nongnu.org; Wed, 08 Jul 2009 10:02:16 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54664) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOXix-0006cK-Lm for qemu-devel@nongnu.org; Wed, 08 Jul 2009 10:02:15 -0400 Message-ID: <4A54A77D.2060400@redhat.com> Date: Wed, 08 Jul 2009 17:04:45 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot References: <20090707192631.GQ11590@us.ibm.com> <20090708075601.GJ28046@redhat.com> <4A549990.2060205@us.ibm.com> In-Reply-To: <4A549990.2060205@us.ibm.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: Anthony Liguori Cc: Ryan Harper , qemu-devel@nongnu.org, Gleb Natapov On 07/08/2009 04:05 PM, Anthony Liguori wrote: >> OS is free to ignore ACPI shutdown request and in this case >> reboot_requested will not be reset. On the next user initiated >> guest power down qemu will reboot instead of exit. > > Indeed. This is what has kept me from applying this but I just can't > think of any better solution. > > Any ideas? > > The drive behind implementing this feature is so that we can implement > a proper virDomainReboot in libvirt. > How does Xen hvm implement it? -- error compiling committee.c: too many arguments to function