From: Peng Hao <peng.hao2@zte.com.cn>
To: peter.maydell@linaro.org, drjones@redhat.com, philmd@redhat.com
Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org,
Peng Hao <peng.hao2@zte.com.cn>
Subject: [Qemu-devel] [PATCH V9 9/9] pvpanic : update pvpanic document
Date: Tue, 27 Nov 2018 03:56:02 +0800 [thread overview]
Message-ID: <1543262162-6351-10-git-send-email-peng.hao2@zte.com.cn> (raw)
In-Reply-To: <1543262162-6351-1-git-send-email-peng.hao2@zte.com.cn>
Add mmio support info in docs/specs/pvpanic.txt.
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
---
docs/specs/pvpanic.txt | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
index c7bbacc..67f5591 100644
--- a/docs/specs/pvpanic.txt
+++ b/docs/specs/pvpanic.txt
@@ -1,14 +1,18 @@
PVPANIC DEVICE
==============
-pvpanic device is a simulated ISA device, through which a guest panic
-event is sent to qemu, and a QMP event is generated. This allows
+pvpanic device is a simulated ISA/SysBus device, through which a guest
+panic event is sent to qemu, and a QMP event is generated. This allows
management apps (e.g. libvirt) to be notified and respond to the event.
The management app has the option of waiting for GUEST_PANICKED events,
and/or polling for guest-panicked RunState, to learn when the pvpanic
device has fired a panic event.
+When pvpanic device is implemented as a ISA device, it supports IOPORT
+mode. Since QEMU v3.2 pvpanic also supports MMIO mode, it will be
+implemented as a SYSBUS device.
+
ISA Interface
-------------
@@ -19,6 +23,13 @@ Software should set only bits both itself and the device recognize.
Currently, only bit 0 is recognized, setting it indicates a guest panic
has happened.
+SYSBUS Interface
+----------------
+
+The SYSBUS interface is similar to the ISA interface except that it uses
+MMIO. For example, the arm virt machine could put the pvpanic device at
+[0x9070000, 0x9070001] and currently only the first byte is used.
+
ACPI Interface
--------------
--
1.8.3.1
next prev parent reply other threads:[~2018-11-26 11:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-26 19:55 [Qemu-devel] [PATCH V9 0/9] add pvpanic mmio support Peng Hao
2018-11-26 19:55 ` [Qemu-devel] [PATCH V9 1/9] hw/misc/pvpanic: Build the pvpanic device in $(common-obj) Peng Hao
2018-11-26 19:55 ` [Qemu-devel] [PATCH V9 2/9] hw/misc/pvpanic: Cosmetic renaming Peng Hao
2018-11-26 19:55 ` [Qemu-devel] [PATCH V9 3/9] hw/misc/pvpanic: Add the MMIO interface Peng Hao
2018-11-26 19:55 ` [Qemu-devel] [PATCH V9 4/9] hw/arm/virt: Use the pvpanic device Peng Hao
2018-11-26 19:55 ` [Qemu-devel] [PATCH V9 5/9] hw/arm/virt: add pvpanic device in virt acpi table Peng Hao
2018-11-26 19:55 ` [Qemu-devel] [PATCH V9 6/9] hw/misc/pvpanic: add configure query interface Peng Hao
2018-11-26 19:56 ` [Qemu-devel] [PATCH V9 7/9] hw/misc/pvpanic: preparing for adding configure interface Peng Hao
2018-11-26 19:56 ` [Qemu-devel] [PATCH V9 8/9] hw/misc/pvpanic: realize the " Peng Hao
2018-11-26 19:56 ` Peng Hao [this message]
2018-11-26 20:09 ` [Qemu-devel] [PATCH V9 9/9] pvpanic : update pvpanic document Eric Blake
2018-11-27 0:29 ` peng.hao2
2018-11-28 2:44 ` [Qemu-devel] [PATCH V9 0/9] add pvpanic mmio support no-reply
2018-11-28 2:46 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1543262162-6351-10-git-send-email-peng.hao2@zte.com.cn \
--to=peng.hao2@zte.com.cn \
--cc=drjones@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).