From: Hu Tao <hutao@cn.fujitsu.com>
To: qemu-devel <qemu-devel@nongnu.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Eric Blake <eblake@redhat.com>
Subject: [Qemu-devel] [PATCH v15.2 4/6] pvpanic: add document of pvpanic
Date: Thu, 28 Mar 2013 14:16:03 +0800 [thread overview]
Message-ID: <1364451363-25763-1-git-send-email-hutao@cn.fujitsu.com> (raw)
In-Reply-To: <5151B998.6080907@redhat.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
docs/specs/pvpanic.txt | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 docs/specs/pvpanic.txt
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
new file mode 100644
index 0000000..6fe8bb6
--- /dev/null
+++ b/docs/specs/pvpanic.txt
@@ -0,0 +1,37 @@
+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
+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.
+
+ISA Interface
+-------------
+
+pvpanic uses port 0x505 to receive a panic event from the guest. On
+write, bit 0 is set to indicate guest panic has happened. On read, bit
+0 is set to indicate guest panic notification is supported. Remaining
+bits are reserved, and should be written as 0, and ignored on read.
+
+ACPI Interface
+--------------
+
+pvpanic device is defined with ACPI ID "QEMU0001". Custom methods:
+
+RDPT: To determine whether guest panic notification is supported.
+Rrguments: None
+Return: Returns a byte, bit 0 set to indicate guest panic
+ notification is supported. Other bits are reserved and
+ should be ignored.
+
+WRPT: To send a guest panic event
+Arguments: Arg0 is a byte, with bit 0 set to indicate guest panic has
+ happened. Other bits are reserved and should be cleared.
+Return: None
+
+The ACPI device will automatically refer to the right port in case it
+is modified.
--
1.8.1.4
next prev parent reply other threads:[~2013-03-28 6:16 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Hu Tao [this message]
2013-03-28 12:16 ` [Qemu-devel] [PATCH v15.2 " 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
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=1364451363-25763-1-git-send-email-hutao@cn.fujitsu.com \
--to=hutao@cn.fujitsu.com \
--cc=eblake@redhat.com \
--cc=pbonzini@redhat.com \
--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).