|
From: | John Snow |
Subject: | Re: [Qemu-devel] QMP event on reboot when -no-reboot is set |
Date: | Wed, 16 Nov 2016 11:29:20 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |