[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 12/13] Add support for an explicit IO error event



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]