qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 0/4] Add a new -action parameter


From: Paolo Bonzini
Subject: Re: [PATCH v3 0/4] Add a new -action parameter
Date: Fri, 11 Dec 2020 23:23:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

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.jimenez@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

[Prev in Thread] Current Thread [Next in Thread]