qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v15 0/6] Add pvpanic device to deal with guest panic event
@ 2013-03-21  8:35 Hu Tao
  2013-03-21  8:35 ` [Qemu-devel] [PATCH v15 1/6] add a new runstate: RUN_STATE_GUEST_PANICKED Hu Tao
                   ` (8 more replies)
  0 siblings, 9 replies; 37+ messages in thread
From: Hu Tao @ 2013-03-21  8:35 UTC (permalink / raw)
  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, Wen Congyang, Michael S. Tsirkin, Alexander Graf,
	Alex Williamson, Peter Maydell, Christian Borntraeger

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 combinations of qemu(kvm)/qemu(tcg), piix/q35, and
default ioport/custom ioport. The only fail case is q35 with custom
ioport. The reason is, in seabios we can't differentiate whether the
passed in DSDT is for q35 or not, and the DSDT patching must uses the
right offset depending this. Addressing this may conflicts with what
people doing to move ACPI tables from seabios to qemu, and, I prefixes
some patches with 'RFC'.


Changes from v14:

  - use QEMU0001 as HID(I mistakenly used MSFT0001 in previous version)
  - device name changed from pvevent to pvpanic
  - pass ioport to seabios through fw_cfg
  - document improvement

v14: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02293.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: add document of pvpanic
  pc_piix, pc_q35: export fw_cfg
  pvpanic: pass configurable ioport to seabios

 QMP/qmp-events.txt        |  14 ++++++
 docs/specs/pvpanic.txt    |  14 ++++++
 hw/Makefile.objs          |   1 +
 hw/fw_cfg.h               |   2 +
 hw/i386/pc_piix.c         |   7 +--
 hw/i386/pc_q35.c          |   9 ++--
 hw/pc.h                   |   6 +++
 hw/pvpanic.c              | 126 ++++++++++++++++++++++++++++++++++++++++++++++
 include/monitor/monitor.h |   1 +
 include/sysemu/sysemu.h   |   1 +
 monitor.c                 |   1 +
 qapi-schema.json          |   5 +-
 qmp.c                     |   3 +-
 vl.c                      |  13 ++++-
 14 files changed, 192 insertions(+), 11 deletions(-)
 create mode 100644 docs/specs/pvpanic.txt
 create mode 100644 hw/pvpanic.c

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2013-03-29  7:15 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-21  8:35 [Qemu-devel] [PATCH v15 0/6] Add pvpanic device to deal with guest panic event Hu Tao
2013-03-21  8:35 ` [Qemu-devel] [PATCH v15 1/6] add a new runstate: RUN_STATE_GUEST_PANICKED Hu Tao
2013-03-21  8:35 ` [Qemu-devel] [PATCH v15 2/6] add a new qevent: QEVENT_GUEST_PANICKED Hu Tao
2013-03-21  8:35 ` [Qemu-devel] [PATCH v15 3/6] introduce a new qom device to deal with panicked event Hu Tao
2013-03-21  8:35 ` [Qemu-devel] [PATCH v15 4/6] pvpanic: add document of pvpanic Hu Tao
2013-03-21  9:13   ` Paolo Bonzini
2013-03-22  7:15     ` Hu Tao
2013-03-26  3:03     ` [Qemu-devel] [PATCH v15.1 " Hu Tao
2013-03-26  9:21       ` Paolo Bonzini
2013-03-26 15:07       ` Eric Blake
2013-03-28  6:16         ` [Qemu-devel] [PATCH v15.2 " Hu Tao
2013-03-28 12:16           ` Eric Blake
2013-03-28 14:57             ` Paolo Bonzini
2013-03-29  7:15               ` Hu Tao
2013-03-29  7:12             ` Hu Tao
2013-03-22  1:59   ` [Qemu-devel] [PATCH v15 " Eric Blake
2013-03-22  7:15     ` Hu Tao
2013-03-21  8:35 ` [Qemu-devel] [RFC][PATCH v15 5/6] pc_piix, pc_q35: export fw_cfg Hu Tao
2013-03-21  8:35 ` [Qemu-devel] [RFC][PATCH v15 6/6] pvpanic: pass configurable ioport to seabios Hu Tao
2013-03-21  9:09   ` Paolo Bonzini
2013-03-21  9:08 ` [Qemu-devel] [PATCH v15 1/2] add pvpanic device driver Hu Tao
2013-03-21  9:08 ` [Qemu-devel] [PATCH v15 2/2] patch dsdt to use passed-in pvpanic ioport Hu Tao
2013-03-21  9:11   ` Paolo Bonzini
2013-03-21  9:17     ` Hu Tao
2013-03-22  7:48       ` Gleb Natapov
2013-03-26  1:59         ` Hu Tao
2013-03-26  7:03           ` Paolo Bonzini
2013-03-26  7:24             ` Hu Tao
2013-03-26  7:53               ` Paolo Bonzini
2013-03-26  8:52                 ` [Qemu-devel] [PATCH v15.1] Add pvpanic device driver Hu Tao
2013-03-26  9:08                   ` Paolo Bonzini
2013-03-26  9:14                     ` [Qemu-devel] [PATCH v15.1 resend] " Hu Tao
2013-03-21  9:54   ` [Qemu-devel] [PATCH v15 2/2] patch dsdt to use passed-in pvpanic ioport Michael S. Tsirkin
2013-03-22  7:25     ` Hu Tao
2013-03-21 22:54   ` [Qemu-devel] [SeaBIOS] " Kevin O'Connor
2013-03-22  7:23     ` Hu Tao
2013-03-21  9:13 ` [Qemu-devel] [PATCH v15] pvpanic: pvpanic device driver Hu Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).