Messages in this thread | | | Date | Wed, 13 Jun 2012 09:53:47 +0200 | From | Paolo Bonzini <> | Subject | Re: [PATCH 3/3] deal with guest panicked event |
| |
Il 13/06/2012 09:02, Wen Congyang ha scritto: >>> >> +Other possible actions are: >>> >> +@code{pause} (emit QEVENT_GUEST_PANICKED and pause VM), >>> >> +@code{quit} (emit QEVENT_GUEST_PANICKED and quit VM). >> > >> > Rather than just "quit", there should be choices for "shutdown", >> > "poweroff" and "reset" for consistency with -watchdog-action. > Hmm, quit means poweroff. I will add reset, but I think we donot > need shutdown, because we cannot shutdown the system when it is > panicked.
Right. :)
Can you also rename quit to poweroff?
>> > Also, this option should also be accessible from "-machine", please. > I don't understand this. Do you mean we can also specify this action > in -machine option?
Yes, like -machine panic_action=poweroff.
Paolo
| |