From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIrGX-0004n2-MN for qemu-devel@nongnu.org; Thu, 21 Mar 2013 21:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIrGW-00080p-IK for qemu-devel@nongnu.org; Thu, 21 Mar 2013 21:59:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIrGW-00080k-AE for qemu-devel@nongnu.org; Thu, 21 Mar 2013 21:59:32 -0400 Message-ID: <514BBAF0.6000609@redhat.com> Date: Thu, 21 Mar 2013 19:59:12 -0600 From: Eric Blake MIME-Version: 1.0 References: <88d002a0bd3acbd0d244f51fcef8f1d1860a2812.1363847790.git.hutao@cn.fujitsu.com> In-Reply-To: <88d002a0bd3acbd0d244f51fcef8f1d1860a2812.1363847790.git.hutao@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2LDNMWMAKWABIKKQKECFC" Subject: Re: [Qemu-devel] [PATCH v15 4/6] pvpanic: add document of pvpanic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: Peter Maydell , Gleb Natapov , "Michael S. Tsirkin" , Jan Kiszka , qemu-devel , Markus Armbruster , Blue Swirl , Orit Wasserman , Juan Quintela , Alexander Graf , Christian Borntraeger , Andrew Jones , Alex Williamson , Sasha Levin , Stefan Hajnoczi , Luiz Capitulino , KAMEZAWA Hiroyuki , Anthony Liguori , Marcelo Tosatti , Paolo Bonzini This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LDNMWMAKWABIKKQKECFC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/21/2013 02:35 AM, Hu Tao wrote: > Signed-off-by: Hu Tao > --- > docs/specs/pvpanic.txt | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 docs/specs/pvpanic.txt Grammar nits: >=20 > diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt > new file mode 100644 > index 0000000..761d20c > --- /dev/null > +++ b/docs/specs/pvpanic.txt > @@ -0,0 +1,25 @@ > +PVPANIC DEVICE > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +pvpanic device is a simulated ISA device, through which guest panic s/which/which a/ > +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 space before ( in English text. > +event. > + > +pvpanic uses port 0x505 by default to receive panic event from guest. s/receive/receive a/ s/from guest/from the guest/ > +The port is configurable by specifying ioport property. > + > +pvpanic device is defined with ACPI ID "QEMU0001". To send panic s/send/send a/ > +event, guest evaluates method WRPT, specifying a byte, bit 0 set, s/guest/the guest/ /byte, bit 0/byte with bit 0/ > +as argument. Other bits are reserved. > + > +To use it, one will have to: > + > +1. add the device by specifying `-device pvpanic' in the qemu command > + line. > + > +2. load pvpanic device driver in guest OS. s/in/in the/ > + > +The management app has the options of waiting for GUEST_PANICKED event= s, s/options/option/ > +and/or polling for guest-panicked RunState, to learn when the pvpanic > +device has fired a panic event. >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2LDNMWMAKWABIKKQKECFC 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/ iQEcBAEBCAAGBQJRS7rwAAoJEKeha0olJ0Nq0aAIAIeVavqPIc0lboY2g1dgND/I HKr+2GkXdEd6cUwxr+NKUG2krBVj/MOPtT0GnkYlXxlpDuncxtHKusP3vous7BEJ cAk9HsE4Sn9yeufVX2/XJ9XlrMiUuaNorhS06J0LAxEQmIr31TJoTokoaqxCckIR bGjBstXLFUUABhtktgxeRTlakApYVigiAz7nxzdIupBbJ93Ftc0uS9mrjGk4ICD7 8eoo5Ekp0qRDFzF+eF3WrY3CLaOX/T+wCBXFaoUSBKX77TW+jm6SQv+kH7SfTucL pW2KwBqrUcqvNoVEH1NCWI9vKSWfgRZkLKCPLeJM+My4WjivB/6ILF7WoCcM6xw= =T9l0 -----END PGP SIGNATURE----- ------enig2LDNMWMAKWABIKKQKECFC--