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
