[libvirt] [PATCH 0/4] Add virDomainIOError API

Jiri Denemark jdenemar at redhat.com
Mon Jan 23 13:30:53 UTC 2012


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.

Jiri Denemark (4):
  virDomainIOError public API and remote protocol
  virsh: Implement domioerror command
  qemu: Refactor qemuMonitorGetBlockInfo
  qemu: Implement virDomainIOError

 include/libvirt/libvirt.h.in |   19 +++++++
 src/driver.h                 |    6 ++
 src/libvirt.c                |   53 ++++++++++++++++++++
 src/libvirt_public.syms      |    5 ++
 src/qemu/qemu_conf.h         |    1 +
 src/qemu/qemu_driver.c       |   82 +++++++++++++++++++++++++++++++
 src/qemu/qemu_hotplug.c      |   22 +++++---
 src/qemu/qemu_monitor.c      |   83 ++++++++++++++++++++++++++++---
 src/qemu/qemu_monitor.h      |   10 +++-
 src/qemu/qemu_monitor_json.c |   34 +++++++------
 src/qemu/qemu_monitor_json.h |    3 +-
 src/qemu/qemu_monitor_text.c |   62 ++++++++++++++++--------
 src/qemu/qemu_monitor_text.h |    3 +-
 src/remote/remote_driver.c   |    1 +
 src/remote/remote_protocol.x |   13 +++++-
 src/remote_protocol-structs  |    9 +++
 tools/virsh.c                |  111 ++++++++++++++++++++++++++++++++++++++++++
 tools/virsh.pod              |   11 ++++
 18 files changed, 468 insertions(+), 60 deletions(-)

-- 
1.7.8.4




More information about the libvir-list mailing list