On 11/12/20 17:52, Alejandro Jimenez wrote:
This is a follow up to the proposal to add a "-no-panicstop" option to QEMU 
that would allow us to
control whether the VM is paused or allowed to continue running without 
intervention from a management layer
when a guest panic occurs. See the inital thread and replies for details:

https://lore.kernel.org/qemu-devel/1601606494-1154-1-git-send-email-alejandro.j.jime...@oracle.com/

 From that discussion came a request for a generic mechanism to group options 
like -no-shutdown, -no-reboot, etc,
that specify an action taken by QEMU in response to a guest event (reboot, 
shutdown, panic, and watchdog
expiration are the current options). The existing options would translate to 
the new option, like:

* -no-reboot --> "-action reboot=shutdown"
* -no-shutdown --> "-action shutdown=pause"

Please share any questions or comments.

Thanks, this looks good.

(Actually there are a bunch of changes needed for other patches that I have queued, but I can take care of that. Basically, I am moving command line parsing from softmmu/runstate-action.c to softmmu/vl.c because we're trying to move all command line stuff there + in turn make vl.c use QMP commands as much as possible).

Paolo


Reply via email to