Received: from eggs.gnu.org ([2001:4830:134:3::10]:58558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c735S-0006hA-4y for qemu-devel@nongnu.org; Wed, 16 Nov 2016 11:29:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c735P-0006Rv-1y for qemu-devel@nongnu.org; Wed, 16 Nov 2016 11:29:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58888) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c735O-0006RD-SJ for qemu-devel@nongnu.org; Wed, 16 Nov 2016 11:29:22 -0500 References: <6c0fc6ddc028e24c7e4d5ec409f53d99@wh-stuttgart.net> From: John Snow Message-ID: Date: Wed, 16 Nov 2016 11:29:20 -0500 MIME-Version: 1.0 In-Reply-To: <6c0fc6ddc028e24c7e4d5ec409f53d99@wh-stuttgart.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] QMP event on reboot when -no-reboot is set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dirk Braunschweiger , qemu-devel@nongnu.org On 11/16/2016 09:01 AM, Dirk Braunschweiger wrote: > Hey Guys, > > I want to get a qmp event when the qemu does a shutdown due to the > -no-reboot flag. Looking at the code I realized that the -no-reboot flag > just changes any reset request to a shutdown request. > Does anybody already patched qemu to emit some kind of reboot event to > the qmp socket? > > If no one already patched it, would you accept such a patch? Or is a > non-wanted feature? > > Best regards, > Dirk Braunschweiger > Is the existing "STOP" event insufficient for some reason? Is it important to distinguish between a 'real' stop and a stop that was originally intended to be a reboot? If you can elaborate on that case, you have a good chance of amending the event spec to add some new events. --js