[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v17 0/6] Add pvpanic device to deal with guest panic
From: |
Hu Tao |
Subject: |
[Qemu-devel] [PATCH v17 0/6] Add pvpanic device to deal with guest panic event |
Date: |
Fri, 5 Apr 2013 14:36:16 +0800 |
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 v16:
- create pvpanic device by default
- change the way using fw-cfg in pvpanic suggested by Paolo
v16: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg05297.html
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: create pvpanic device by default
pvpanic: add document of pvpanic
QMP/qmp-events.txt | 14 ++++
docs/specs/pvpanic.txt | 37 ++++++++++
hw/Makefile.objs | 1 +
hw/fw_cfg.c | 8 ++-
hw/fw_cfg.h | 2 +
hw/i386/pc_piix.c | 2 +
hw/i386/pc_q35.c | 1 +
hw/pc.h | 4 ++
hw/pvpanic.c | 172 ++++++++++++++++++++++++++++++++++++++++++++++
include/monitor/monitor.h | 1 +
include/sysemu/sysemu.h | 1 +
monitor.c | 1 +
qapi-schema.json | 5 +-
qmp.c | 3 +-
vl.c | 15 +++-
15 files changed, 261 insertions(+), 6 deletions(-)
create mode 100644 docs/specs/pvpanic.txt
create mode 100644 hw/pvpanic.c
--
1.8.1.4
- [Qemu-devel] [PATCH v17 0/6] Add pvpanic device to deal with guest panic event,
Hu Tao <=
- [Qemu-devel] [PATCH v17 2/6] add a new qevent: QEVENT_GUEST_PANICKED, Hu Tao, 2013/04/05
- [Qemu-devel] [PATCH v17 1/6] add a new runstate: RUN_STATE_GUEST_PANICKED, Hu Tao, 2013/04/05
- [Qemu-devel] [PATCH v17 4/6] pvpanic: pass configurable ioport to seabios, Hu Tao, 2013/04/05
- [Qemu-devel] [PATCH v17 3/6] introduce a new qom device to deal with panicked event, Hu Tao, 2013/04/05
- [Qemu-devel] [PATCH v17 6/6] pvpanic: add document of pvpanic, Hu Tao, 2013/04/05
- [Qemu-devel] [PATCH v17 5/6] pvpanic: create pvpanic device by default, Hu Tao, 2013/04/05