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

[libvirt] [PATCH 0/4] qemu: Unplug devices that disappeared when libvirtd was down



In case libvirtd is asked to unplug a device but the device is actually
unplugged later when libvirtd is not running, we need to detect that and
remove such device when libvirtd starts again and reconnects to running
domains.

Jiri Denemark (4):
  util: Non-existent string array does not contain any string
  conf: Make error reporting in virDomainDefFindDevice optional
  qemu: Introduce qemuMonitorGetDeviceAliases
  qemu: Unplug devices that disappeared when libvirtd was down

 src/conf/domain_conf.c       | 11 +++++---
 src/conf/domain_conf.h       |  3 ++-
 src/qemu/qemu_domain.c       | 56 ++++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_domain.h       |  4 +++
 src/qemu/qemu_driver.c       |  6 +++++
 src/qemu/qemu_monitor.c      | 21 +++++++++++++++
 src/qemu/qemu_monitor.h      |  4 +++
 src/qemu/qemu_monitor_json.c | 38 +++++++++++++++++++++++++++
 src/qemu/qemu_monitor_json.h |  4 +++
 src/qemu/qemu_process.c      | 45 +++++++++++++++++++++++++++++++-
 src/util/virstring.c         |  3 +++
 tests/qemumonitorjsontest.c  | 61 ++++++++++++++++++++++++++++++++++++++++++++
 12 files changed, 251 insertions(+), 5 deletions(-)

-- 
1.8.3.2


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