From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKVT6-0006vZ-4m for qemu-devel@nongnu.org; Tue, 26 Mar 2013 11:07:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKVSx-00070F-4p for qemu-devel@nongnu.org; Tue, 26 Mar 2013 11:07:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKVSw-000700-M5 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 11:07:10 -0400 Message-ID: <5151B998.6080907@redhat.com> Date: Tue, 26 Mar 2013 09:07:04 -0600 From: Eric Blake MIME-Version: 1.0 References: <514ACF4E.6030505@redhat.com> <1364267011-31975-1-git-send-email-hutao@cn.fujitsu.com> In-Reply-To: <1364267011-31975-1-git-send-email-hutao@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2GBPCMMPDVPCRFJVECXVW" Subject: Re: [Qemu-devel] [PATCH v15.1 4/6] pvpanic: add document of pvpanic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: Paolo Bonzini , qemu-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2GBPCMMPDVPCRFJVECXVW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/25/2013 09:03 PM, Hu Tao wrote: > Signed-off-by: Hu Tao > --- > docs/specs/pvpanic.txt | 35 +++++++++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 docs/specs/pvpanic.txt > +ISA Interface > +------------- > + > +pvpanic uses port 0x505 to receive a panic event from the guest. On > +written, bit 0 is set to indicate guest panic has happened. On read, b= it s/written/write/ Also, mention that the remaining bits are reserved, and should be written as 0, and ignored on read (that way, the spec can be updated when we define a later bit, and older hosts won't be trying to set or act on bits they don't understand). > +ACPI Interface > +-------------- > + > +pvpanic device is defined with ACPI ID "QEMU0001". Custom methods: > + > +RDPT: To determine whether guest panic notification is supported= =2E > +Rrguments: None > +Return: Returns a byte, bit 0 set to indicate guest panic > + notification is supported. > + > +WRPT: To send a guest panic event > +Arguments: Arg0 is a byte, with bit 0 set to indicate guest panic has= > + happened. Again, documenting that the remaining bits are reserved (write 0, ignore on read) is a wise addition. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2GBPCMMPDVPCRFJVECXVW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRUbmYAAoJEKeha0olJ0Nq+uMH/AhusUGCR4mRrgTbLJZJou5L c9Yv/t2LH1+ADdAACKWMzJ7m536zSHY2N8Qvf8ldzeWipCkSQfEMIueXKy1trkno IQJsv/8sJ7AOhTJ+RSv2hKW3LBZiM9AnYU6fZQRRMWcAPMdHk55bbTSWALbEH3RS JZ/TUg9YVXKuGkEAyl+TytYxfRMbBWf6daq0tlPuDEZIwyQh+/79CJylZ6vAl42d 0qRC6FQgpaJ1haguPuX+FfXTA1j1d930XjtcVHzpeJRVDAeyg5iaF4ipuI4r6dQq /ecs9x9km3Zz1WWpBg52NltUZGG0/GsHUMsInztywvDpasXEoz07v4S1C3+MzgM= =Nasm -----END PGP SIGNATURE----- ------enig2GBPCMMPDVPCRFJVECXVW--