qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: Dirk Braunschweiger <dirkmb+lists.qemu-devel@wh-stuttgart.net>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QMP event on reboot when -no-reboot is set
Date: Wed, 16 Nov 2016 11:29:20 -0500	[thread overview]
Message-ID: <dd40bcbf-0154-d6b9-c992-76772f6cca70@redhat.com> (raw)
In-Reply-To: <6c0fc6ddc028e24c7e4d5ec409f53d99@wh-stuttgart.net>



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

  reply	other threads:[~2016-11-16 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16 14:01 [Qemu-devel] QMP event on reboot when -no-reboot is set Dirk Braunschweiger
2016-11-16 16:29 ` John Snow [this message]
2016-11-17  8:17   ` Dirk Braunschweiger
2016-11-17 17:34     ` John Snow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd40bcbf-0154-d6b9-c992-76772f6cca70@redhat.com \
    --to=jsnow@redhat.com \
    --cc=dirkmb+lists.qemu-devel@wh-stuttgart.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).