From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG408-00048K-BC for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG404-0000SR-MU for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:59:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG404-0000SL-DG for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:59:00 -0400 Date: Thu, 14 Mar 2013 10:58:45 +0200 From: Gleb Natapov Message-ID: <20130314085845.GA11223@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v14 0/4] pvevent device to deal with guest panic event 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 , Juan Quintela , Alexander Graf , Christian Borntraeger , Andrew Jones , Alex Williamson , Sasha Levin , Stefan Hajnoczi , Luiz Capitulino , KAMEZAWA Hiroyuki , Kevin Wolf , Anthony Liguori , Marcelo Tosatti , Paolo Bonzini On Thu, Mar 14, 2013 at 04:15:49PM +0800, Hu Tao wrote: > This series introduces a new simulated device, pvevent, to notify > qemu when guest panic event happens. > Call it something less generic. pvpanic for instance. > Along with this series, there are two patches to add seabios ACPI > driver and kernel ACPI driver for the device, respectively. > > TODO: make the io port used by pvevent device configurable. > > Tested with: > > - qemu(kvm) > - qemu(tcg) > - piix > - q35 > > Changes from v13: > > - communicate the io port with guest by ACPI, instead of hardcoding it (Marcelo) > - panic event action is always 'pause' (Paolo) > - not kvm-specific (Gleb) > - make the device target-independent (Paolo) > - no runstate save/load(will be a seperate patch) (Paolo) > - support q35 (Gleb) > - doc about qmp event (Eric) > - doc about pvevent device (Paolo) > > v13: http://lists.nongnu.org/archive/html/qemu-devel/2013-02/msg05361.html > > Hu Tao (4): > add a new runstate: RUN_STATE_GUEST_PANICKED > add a new qevent: QEVENT_GUEST_PANICKED > introduce a new qom device to deal with panicked event > pv event: add document to describe the usage > > QMP/qmp-events.txt | 14 ++++++ > docs/pvevent.txt | 14 ++++++ > hw/Makefile.objs | 2 + > hw/pvevent.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++ > include/monitor/monitor.h | 1 + > include/sysemu/sysemu.h | 1 + > monitor.c | 1 + > qapi-schema.json | 5 +- > qmp.c | 3 +- > vl.c | 13 +++++- > 10 files changed, 165 insertions(+), 5 deletions(-) > create mode 100644 docs/pvevent.txt > create mode 100644 hw/pvevent.c > > -- > 1.8.1.4 -- Gleb.