|
From: | Paolo Bonzini |
Subject: | Re: [RFC PATCH] chardev: don't exit() straight away on C-a x |
Date: | Tue, 19 Oct 2021 12:49:48 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |