From: Paolo Bonzini <pbonzini@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Lukas Jünger" <lukas.junger@greensocs.com>,
qemu-devel@nongnu.org
Subject: Re: [RFC PATCH] chardev: don't exit() straight away on C-a x
Date: Tue, 19 Oct 2021 12:49:48 +0200 [thread overview]
Message-ID: <1cb1a05d-d96b-198e-771c-79f7cc26ee1d@redhat.com> (raw)
In-Reply-To: <87fssyz1se.fsf@linaro.org>
On 18/10/21 19:20, Alex Bennée wrote:
>> shutdown_action = SHUTDOWN_ACTION_POWEROFF;
> I guess this is it? I couldn't follow the chain of qemu_opts to find
> what sort of change -no-shutdown made to the shutdown_action.
>
Yes, "-no-shutdown" is short for "-action shutdown=pause". From there
it goes process_runstate_actions -> qmp_marshal_set_action ->
qmp_set_action, where it sets "shutdown_action = SHUTDOWN_ACTION_PAUSE".
Paolo
next prev parent reply other threads:[~2021-10-19 10:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 14:02 [RFC PATCH] chardev: don't exit() straight away on C-a x Alex Bennée
2021-10-18 14:20 ` Marc-André Lureau
2021-10-18 14:37 ` Paolo Bonzini
2021-10-18 14:53 ` Alex Bennée
2021-10-18 14:59 ` Paolo Bonzini
2021-10-18 17:20 ` Alex Bennée
2021-10-19 10:49 ` Paolo Bonzini [this message]
2021-10-18 15:04 ` Philippe Mathieu-Daudé
2021-10-18 16:14 ` Alex Bennée
2021-10-18 17:30 ` Philippe Mathieu-Daudé
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=1cb1a05d-d96b-198e-771c-79f7cc26ee1d@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=lukas.junger@greensocs.com \
--cc=marcandre.lureau@redhat.com \
--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).