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.
...
+
+/**
+ *
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 |
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
- 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
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
*/
+
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