[libvirt] [PATCH 12/13] Add support for an explicit IO error event
Eric Blake
eblake at redhat.com
Mon Mar 22 16:10:05 UTC 2010
On 03/19/2010 09:39 AM, Daniel P. Berrange wrote:
> This introduces a new event type
>
> VIR_DOMAIN_EVENT_ID_IO_ERROR
>
> This event includes the action that is about to be taken
> as a result of the watchdog triggering
>
> typedef enum {
> VIR_DOMAIN_EVENT_IO_ERROR_NONE = 0,
> VIR_DOMAIN_EVENT_IO_ERROR_PAUSE,
> VIR_DOMAIN_EVENT_IO_ERROR_REPORT,
> } virDomainEventIOErrorAction;
>
> In addition is has the source path of the disk that had the
s/is/it/
> +static void qemuMonitorJSONHandleIOError(qemuMonitorPtr mon, virJSONValuePtr data)
> +{
> + const char *device;
> + const char *action;
> + int actionID;
> +
> + /* Throughout here we try our best to carry on upon errors,
> + since its imporatant to get as much info as possible out
s/its imporatant/it's important/
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100322/a2533b42/attachment-0001.sig>
More information about the libvir-list
mailing list