Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752003Ab2FMH4W (ORCPT ); Wed, 13 Jun 2012 03:56:22 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:53459 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751643Ab2FMH4U (ORCPT ); Wed, 13 Jun 2012 03:56:20 -0400 X-IronPort-AV: E=Sophos;i="4.77,402,1336320000"; d="scan'208";a="5177420" Message-ID: <4FD8488F.6040707@cn.fujitsu.com> Date: Wed, 13 Jun 2012 16:00:15 +0800 From: Wen Congyang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100413 Fedora/3.0.4-2.fc13 Thunderbird/3.0.4 MIME-Version: 1.0 To: Paolo Bonzini CC: kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Jan Kiszka , Gleb Natapov Subject: Re: [PATCH 3/3] deal with guest panicked event References: <4FB9E4CE.8060709@cn.fujitsu.com> <4FB9E5CB.2020208@cn.fujitsu.com> <4FD74447.2090906@redhat.com> <4FD83B20.9060203@cn.fujitsu.com> <4FD8470B.8010507@redhat.com> In-Reply-To: <4FD8470B.8010507@redhat.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/06/13 15:56:42, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/06/13 15:56:50, Serialize complete at 2012/06/13 15:56:50 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 35 At 06/13/2012 03:53 PM, Paolo Bonzini Wrote: > 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? OK. Thanks Wen Congyang > >>>> 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/