From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPq2q-0005oc-6R for qemu-devel@nongnu.org; Wed, 10 Apr 2013 04:06:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPq2o-0006Cb-Ge for qemu-devel@nongnu.org; Wed, 10 Apr 2013 04:06:16 -0400 Received: from mail-bk0-x22a.google.com ([2a00:1450:4008:c01::22a]:33302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPq2o-0006CR-9T for qemu-devel@nongnu.org; Wed, 10 Apr 2013 04:06:14 -0400 Received: by mail-bk0-f42.google.com with SMTP id jc3so77576bkc.1 for ; Wed, 10 Apr 2013 01:06:13 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51651D6D.5000506@redhat.com> Date: Wed, 10 Apr 2013 10:06:05 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v18 0/7] Add pvpanic 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 , Gleb Natapov , "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 , Anthony Liguori , Marcelo Tosatti Il 10/04/2013 05:33, Hu Tao ha scritto: > This series introduces a new simulated device, pvpanic, to notify > qemu when guest panic event happens. > > Along with this series, there are two patches to add seabios ACPI > driver and kernel ACPI driver for the device, respectively. > > Tested with: > > - qemu(kvm)/qemu(tcg) > - qemu piix/q35 > - default ioport/custom ioport > > Changes from v17: > > - create pvpanic device by default for machine 1.5 > - rebase on top of latest git tree(hw directories changed a lot) > - integrate Christian's patch for s390 > > v17: https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg01028.html > > > Christian Borntraeger (1): > Wire up disabled wait a panicked event on s390 > > Hu Tao (6): > 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 > pvpanic: pass configurable ioport to seabios > pvpanic: add document of pvpanic > pvpanic: create pvpanic by default for machine 1.5 > > QMP/qmp-events.txt | 14 +++++ > docs/specs/pvpanic.txt | 37 +++++++++++++ > hw/i386/pc_piix.c | 16 +++++- > hw/i386/pc_q35.c | 15 ++++- > hw/misc/Makefile.objs | 2 + > hw/misc/pvpanic.c | 137 ++++++++++++++++++++++++++++++++++++++++++++++ > hw/nvram/fw_cfg.c | 8 ++- > include/hw/i386/pc.h | 3 + > include/hw/nvram/fw_cfg.h | 2 + > include/monitor/monitor.h | 1 + > include/sysemu/sysemu.h | 1 + > monitor.c | 1 + > qapi-schema.json | 5 +- > qmp.c | 3 +- > target-s390x/kvm.c | 17 +++++- > vl.c | 13 ++++- > 16 files changed, 263 insertions(+), 12 deletions(-) > create mode 100644 docs/specs/pvpanic.txt > create mode 100644 hw/misc/pvpanic.c > Reviewed-by: Paolo Bonzini