From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT5PP-0001Ls-Mw for qemu-devel@nongnu.org; Fri, 19 Apr 2013 03:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UT5PO-0004LT-R8 for qemu-devel@nongnu.org; Fri, 19 Apr 2013 03:06:59 -0400 Received: from [222.73.24.84] (port=44324 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT5PO-0004Kg-GO for qemu-devel@nongnu.org; Fri, 19 Apr 2013 03:06:58 -0400 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r3J76uue000710 for ; Fri, 19 Apr 2013 15:06:56 +0800 From: Hu Tao Date: Fri, 19 Apr 2013 15:06:18 +0800 Message-Id: Subject: [Qemu-devel] [PATCH v20 0/7] Add pvpanic device to deal with guest panic event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 v19: - use qemu_log_mask instead of fprintf - add CONFIG_PVPANIC 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 ++++ default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + docs/specs/pvpanic.txt | 39 ++++++++++ hw/i386/pc_piix.c | 16 ++++- hw/i386/pc_q35.c | 15 +++- hw/misc/Makefile.objs | 2 + hw/misc/pvpanic.c | 144 +++++++++++++++++++++++++++++++++++++ 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 +++- 18 files changed, 274 insertions(+), 12 deletions(-) create mode 100644 docs/specs/pvpanic.txt create mode 100644 hw/misc/pvpanic.c -- 1.8.1.4