From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGEs5-0003Nb-B4 for qemu-devel@nongnu.org; Thu, 14 Mar 2013 16:35:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGErx-0001Hm-8P for qemu-devel@nongnu.org; Thu, 14 Mar 2013 16:35:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGErx-0001Hi-0L for qemu-devel@nongnu.org; Thu, 14 Mar 2013 16:35:21 -0400 Message-ID: <51423474.60804@redhat.com> Date: Thu, 14 Mar 2013 14:35:00 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2FPODXNULKGKLJRMKRULJ" Subject: Re: [Qemu-devel] [PATCH v14 4/4] pvevent: add document to describe the usage 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 , Kevin Wolf , Anthony Liguori , Marcelo Tosatti , Paolo Bonzini This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FPODXNULKGKLJRMKRULJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/14/2013 02:15 AM, Hu Tao wrote: > Signed-off-by: Hu Tao > --- > docs/pvevent.txt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 docs/pvevent.txt >=20 > diff --git a/docs/pvevent.txt b/docs/pvevent.txt > new file mode 100644 > index 0000000..749b87c > --- /dev/null > +++ b/docs/pvevent.txt > @@ -0,0 +1,16 @@ > +PVEVENT DEVICE > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +pvevent device is a simulated ISA device, through which guest panic > +event is sent to qemu, and an qmp event is generated. This allows s/an qmp/a QMP/ - although mentioning _which_ event might be niceer. > +management apps(e.g. libvirt) to be notified and respond to the s/apps(/apps (/ > +event. > + > +pvevent device is defined with HID "MSFT0001". > + > +To use it, one will have to: > + > +1. add the device by specifying `-device pv-event' in the qemu command= > + line. > + > +2. load pvevent device driver in guest OS. Missing is a sentence stating that the management app then has the option of waiting for GUEST_PANICKED events, and/or polling for guest-panicked RunState, to learn when the pvevent device has fired a panic event. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2FPODXNULKGKLJRMKRULJ 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/ iQEcBAEBCAAGBQJRQjR0AAoJEKeha0olJ0NqG3wH/0dJStA7wIl+Gn37aKNMBhg2 LyA+KNmtSlNm2wkqZ/sBqOsEohHK054UW60G5q27u0PhWsfAXSO0J97ur6VcsDco 8DLvfKs0PHPyMTDX0mEAdX+bPNeKH9B1MtVztDGnaG64nT4rlYfBBHIRX3M+bqF1 7C5fRSOVDJyB9eoGK4Y8gZLq+AEUtXXWu9kJ1BYup6NtoBSY7vEwjT44FS71H2qJ nI7CzUt12yeeitqxg+28BXEgpe8AhVFJrurH7o9goHm9LAahSlHVBOttBD2SNwgc y4m1Dk9LZj3p64Kcg7znr2H/4KqUpLKvGkq7yoMQX8suT+UGU4TPMGZASlCqWXw= =jbFs -----END PGP SIGNATURE----- ------enig2FPODXNULKGKLJRMKRULJ--