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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]