From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG4DA-0001ux-Fp for qemu-devel@nongnu.org; Thu, 14 Mar 2013 05:12:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG48o-0003eA-Po for qemu-devel@nongnu.org; Thu, 14 Mar 2013 05:08:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG48o-0003db-ED for qemu-devel@nongnu.org; Thu, 14 Mar 2013 05:08:02 -0400 Date: Thu, 14 Mar 2013 11:07:44 +0200 From: Gleb Natapov Message-ID: <20130314090744.GB11223@redhat.com> References: <1363251073-20380-1-git-send-email-hutao@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1363251073-20380-1-git-send-email-hutao@cn.fujitsu.com> Subject: Re: [Qemu-devel] [PATCH] pvevent: pvevent device driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: Peter Maydell , "Michael S. Tsirkin" , Jan Kiszka , qemu-devel , Markus Armbruster , Blue Swirl , Orit Wasserman , Matthew Garrett , Juan Quintela , Alexander Graf , Christian Borntraeger , platform-driver-x86@vger.kernel.org, Andrew Jones , Alex Williamson , Sasha Levin , Stefan Hajnoczi , Luiz Capitulino , KAMEZAWA Hiroyuki , Kevin Wolf , Anthony Liguori , Marcelo Tosatti , linux-kernel@vger.kernel.org, Paolo Bonzini On Thu, Mar 14, 2013 at 04:51:13PM +0800, Hu Tao wrote: > pvevent device is a qemu simulated device through which guest panic > event is sent to host. > > ref: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02293.html > > Signed-off-by: Hu Tao > --- > drivers/platform/x86/Kconfig | 7 +++ > drivers/platform/x86/Makefile | 2 + > drivers/platform/x86/pvevent.c | 115 +++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 124 insertions(+) > create mode 100644 drivers/platform/x86/pvevent.c > > diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig > index 7ab0b2f..369135e 100644 > --- a/drivers/platform/x86/Kconfig > +++ b/drivers/platform/x86/Kconfig > @@ -768,4 +768,11 @@ config APPLE_GMUX > graphics as well as the backlight. Currently only backlight > control is supported by the driver. > > +config PVEVENT > + tristate "pvevent device support" > + depends on ACPI May be adding something like "default y if PARAVIRT_GUEST"? -- Gleb.