[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v15 4/6] pvpanic: add document of pvpanic
From: |
Hu Tao |
Subject: |
Re: [Qemu-devel] [PATCH v15 4/6] pvpanic: add document of pvpanic |
Date: |
Fri, 22 Mar 2013 15:15:59 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Mar 21, 2013 at 07:59:12PM -0600, Eric Blake wrote:
> On 03/21/2013 02:35 AM, Hu Tao wrote:
> > Signed-off-by: Hu Tao <address@hidden>
> > ---
> > docs/specs/pvpanic.txt | 25 +++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> > create mode 100644 docs/specs/pvpanic.txt
>
> Grammar nits:
>
> >
> > 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
> > +==============
> > +
> > +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 events,
>
> s/options/option/
Thanks for review!
>
> > +and/or polling for guest-panicked RunState, to learn when the pvpanic
> > +device has fired a panic event.
> >
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
- [Qemu-devel] [PATCH v15 0/6] Add pvpanic device to deal with guest panic event, Hu Tao, 2013/03/21
- [Qemu-devel] [PATCH v15 3/6] introduce a new qom device to deal with panicked event, Hu Tao, 2013/03/21
- [Qemu-devel] [PATCH v15 4/6] pvpanic: add document of pvpanic, Hu Tao, 2013/03/21
- [Qemu-devel] [PATCH v15 2/6] add a new qevent: QEVENT_GUEST_PANICKED, Hu Tao, 2013/03/21
- [Qemu-devel] [PATCH v15 1/6] add a new runstate: RUN_STATE_GUEST_PANICKED, Hu Tao, 2013/03/21
- [Qemu-devel] [RFC][PATCH v15 6/6] pvpanic: pass configurable ioport to seabios, Hu Tao, 2013/03/21
- [Qemu-devel] [RFC][PATCH v15 5/6] pc_piix, pc_q35: export fw_cfg, Hu Tao, 2013/03/21
- [Qemu-devel] [PATCH v15 1/2] add pvpanic device driver, Hu Tao, 2013/03/21
- [Qemu-devel] [PATCH v15 2/2] patch dsdt to use passed-in pvpanic ioport, Hu Tao, 2013/03/21