From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 3/3] deal with guest panicked event Date: Wed, 13 Jun 2012 09:53:47 +0200 Message-ID: <4FD8470B.8010507@redhat.com> References: <4FB9E4CE.8060709@cn.fujitsu.com> <4FB9E5CB.2020208@cn.fujitsu.com> <4FD74447.2090906@redhat.com> <4FD83B20.9060203@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , kvm list , Jan Kiszka , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , KAMEZAWA Hiroyuki To: Wen Congyang Return-path: In-Reply-To: <4FD83B20.9060203@cn.fujitsu.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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