Re: [libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol

2012-01-27 Thread Jiri Denemark
On Mon, Jan 23, 2012 at 14:30:54 +0100, Jiri Denemark wrote: We already provide ways to detect when a domain has been paused as a result of I/O error, but there was no way of getting the exact error or even the device that experienced it. This new API may be used for both. ... + +/** + *

Re: [libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol

2012-01-25 Thread Michal Privoznik
On 23.01.2012 14:30, Jiri Denemark wrote: We already provide ways to detect when a domain has been paused as a result of I/O error, but there was no way of getting the exact error or even the device that experienced it. This new API may be used for both. --- include/libvirt/libvirt.h.in |

Re: [libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol

2012-01-25 Thread Michal Privoznik
On 25.01.2012 12:04, Michal Privoznik wrote: On 23.01.2012 14:30, Jiri Denemark wrote: We already provide ways to detect when a domain has been paused as a result of I/O error, but there was no way of getting the exact error or even the device that experienced it. This new API may be used for

Re: [libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol

2012-01-24 Thread Federico Simoncelli
- Original Message - From: Jiri Denemark jdene...@redhat.com To: libvir-list@redhat.com Sent: Monday, January 23, 2012 2:30:54 PM Subject: [libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol We already provide ways to detect when a domain has been paused

Re: [libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol

2012-01-24 Thread Jiri Denemark
On Tue, Jan 24, 2012 at 11:57:23 -0500, Federico Simoncelli wrote: +/** + * virDomainIoError: + * + * Disk I/O error. + */ +typedef enum { +VIR_DOMAIN_IOERROR_NONE = 0, /* no error */ +VIR_DOMAIN_IOERROR_NO_SPACE = 1, /* no space left on the device */ +

[libvirt] [PATCH 1/4] virDomainIOError public API and remote protocol

2012-01-23 Thread Jiri Denemark
We already provide ways to detect when a domain has been paused as a result of I/O error, but there was no way of getting the exact error or even the device that experienced it. This new API may be used for both. --- include/libvirt/libvirt.h.in | 19 +++ src/driver.h