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

[libvirt] [PATCH 0/6] Enhance save/restore/migration of domains with USB devices



USB devices can disappear without OS being mad about it, which makes
them ideal for startupPolicy so that a domain with USB devices can be
migrated to a host that lacks the USB devices. Moreover, this series
allows USB devices to be re-plugged or a host to be rebooted while
domains with USB devices are (managed)saved.

Jiri Denemark (6):
  conf: Add support for startupPolicy for USB devices
  qemu: Introduce qemuFindHostdevUSBDevice
  qemu: Add option to treat missing USB devices as success
  qemu: Implement startupPolicy for USB passed through devices
  Add MIGRATABLE flag for virDomainGetXMLDesc
  qemu: Make save/restore with USB devices usable

 docs/formatdomain.html.in       |  28 ++++++--
 docs/schemas/domaincommon.rng   |   3 +
 include/libvirt/libvirt.h.in    |   1 +
 src/conf/domain_conf.c          |  45 ++++++++++++-
 src/conf/domain_conf.h          |   4 ++
 src/qemu/qemu_cgroup.c          |   2 +
 src/qemu/qemu_command.c         |  20 ++++--
 src/qemu/qemu_domain.c          |  21 +++---
 src/qemu/qemu_domain.h          |  11 ++--
 src/qemu/qemu_driver.c          |  19 +++---
 src/qemu/qemu_hostdev.c         | 137 +++++++++++++++++++++++++++++-----------
 src/qemu/qemu_hostdev.h         |   6 +-
 src/qemu/qemu_hotplug.c         |  33 +---------
 src/qemu/qemu_migration.c       |  12 ++--
 src/qemu/qemu_process.c         |  16 ++---
 src/security/security_dac.c     |  16 +++--
 src/security/security_selinux.c |  16 +++--
 src/util/hostusb.c              |  91 ++++++++++++++++++--------
 src/util/hostusb.h              |  22 ++++---
 tools/virsh-domain.c            |   4 ++
 tools/virsh.pod                 |   7 +-
 21 files changed, 351 insertions(+), 163 deletions(-)

-- 
1.7.12


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