Skip to content

Add pvpanic device to deal with guest panic event

Hu Tao qemu-devel 8 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v21 Latest8 patches 9 repliesApplied
  2. v207 patches 7 repliesSuperseded
  3. v197 patches 8 repliesApplied
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v187 patches6 repliesSuperseded
v176 patches4 repliesSuperseded
v166 patches2 repliesSuperseded
v156 patches11 repliesSuperseded
v144 patches30 repliesSuperseded

Changes in v21 from the cover letter

- rebase
- suppress pvpanic device with all machine types older than pc 1.5
- split fw_cfg header fix off into a seperate patch

Patches in v21 Applied

#Subject and filesSizeRepliesApplied
1/8add a new runstate: RUN_STATE_GUEST_PANICKEDinclude/sysemu/sysemu.h qapi-schema.json qmp.c +1 more+17 -51 reply
2/8add a new qevent: QEVENT_GUEST_PANICKEDQMP/qmp-events.txt include/monitor/monitor.h monitor.c+16 -01 reply
3/8introduce a new qom device to deal with panicked eventdefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/misc/Makefile.objs +1 more+127 -01 reply
4/8fw_cfg: add required header filesinclude/hw/nvram/fw_cfg.h+7 -01 reply
5/8pvpanic: pass configurable ioport to seabioshw/misc/pvpanic.c hw/nvram/fw_cfg.c+21 -11 reply
6/8pvpanic: add document of pvpanicdocs/specs/pvpanic.txt+39 -01 reply
7/8pvpanic: create pvpanic by default for machine 1.5hw/i386/pc_piix.c hw/i386/pc_q35.c hw/misc/pvpanic.c +1 more+29 -01 reply
8/8Wire up disabled wait a panicked event on s390target-s390x/kvm.c+14 -31 reply

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchMarkus Armbruster
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v21 thread

Cover letter [Qemu-devel] [PATCH v21 0/8] Add pvpanic device to deal with guest panic event

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 v20:

- rebase
- suppress pvpanic device with all machine types older than pc 1.5
- split fw_cfg header fix off into a seperate patch

Christian Borntraeger (1):
Wire up disabled wait a panicked event on s390

Hu Tao (7):
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
fw_cfg: add required header files
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                  |  12 ++++
 hw/i386/pc_q35.c                   |   7 ++
 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          |   7 ++
 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, 270 insertions(+), 9 deletions(-)
 create mode 100644 docs/specs/pvpanic.txt
 create mode 100644 hw/misc/pvpanic.c
Signature · 1 line
1.8.1.4