From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRAW-0004xf-V3 for qemu-devel@nongnu.org; Tue, 12 Jun 2012 09:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeRAU-0005XJ-VF for qemu-devel@nongnu.org; Tue, 12 Jun 2012 09:30:00 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:63025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRAU-0005W5-MM for qemu-devel@nongnu.org; Tue, 12 Jun 2012 09:29:58 -0400 Received: by dadv2 with SMTP id v2so7537122dad.4 for ; Tue, 12 Jun 2012 06:29:53 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FD74447.2090906@redhat.com> Date: Tue, 12 Jun 2012 15:29:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4FB9E4CE.8060709@cn.fujitsu.com> <4FB9E5CB.2020208@cn.fujitsu.com> In-Reply-To: <4FB9E5CB.2020208@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] deal with guest panicked event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang Cc: Gleb Natapov , kvm list , Jan Kiszka , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , KAMEZAWA Hiroyuki Il 21/05/2012 08:50, Wen Congyang ha scritto: > +DEF("onpanic", HAS_ARG, QEMU_OPTION_onpanic, \ > + "-onpanic report|pause|quit\n" \ > + " action when the guest is panicked [default=report]", > + QEMU_ARCH_ALL) > +STEXI > +@item -onpanic @var{action} > + > +The @var{action} controls what QEmu will do when the guest is panicked. > +The default is @code{report} (emit QEVENT_GUEST_PANICKED only). -watchdog-action just calls this "none". > +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. Also, this option should also be accessible from "-machine", please. Paolo > +ETEXI > + > HXCOMM This is the last statement. Insert new options before this line! > STEXI > @end table