From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG3Km-0005ZE-ND for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:16:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG3Ki-0002un-Ha for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:16:20 -0400 Received: from [222.73.24.84] (port=16601 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG3Ki-0002tY-6w for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:16:16 -0400 From: Hu Tao Date: Thu, 14 Mar 2013 16:15:49 +0800 Message-Id: Subject: [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: qemu-devel , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Jan Kiszka , Gleb Natapov , Blue Swirl , Eric Blake , Andrew Jones , Marcelo Tosatti , Sasha Levin , Luiz Capitulino , Anthony Liguori , Markus Armbruster , Paolo Bonzini , Stefan Hajnoczi , Juan Quintela , Orit Wasserman , Kevin Wolf , Wen Congyang , "Michael S. Tsirkin" , Alexander Graf , Alex Williamson , Peter Maydell , Christian Borntraeger This series introduces a new simulated device, pvevent, 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. 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