[libvirt] [PATCH 0/5] Improve handling of multipath devices

Michal Privoznik posted 5 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1522041162.git.mprivozn@redhat.com
Test syntax-check passed
There is a newer version of this series
docs/news.xml            |  10 ++++
libvirt.spec.in          |   2 +
src/libvirt_private.syms |   2 +
src/qemu/qemu_cgroup.c   |  43 +++++++++++++-
src/qemu/qemu_domain.c   |  58 +++++++++++++++++++
src/util/virfile.c       | 143 +++++++++++++++++++++++++++++++++++++++++++++++
src/util/virfile.h       |   7 +++
src/util/virlog.c        |  23 ++++++++
8 files changed, 285 insertions(+), 3 deletions(-)
[libvirt] [PATCH 0/5] Improve handling of multipath devices
Posted by Michal Privoznik 6 years, 1 month ago
Imagine you have a device mapper target which consists of 1..N disks
(e.g. it's a multipath device, LUKS disk, whatever). Now, libvirt
currently allows only the frontend (/dev/dm-1) in CGroups. However, this
can make qemu fail [1] so we need to allow all the backend devices too.

1: https://bugzilla.redhat.com/show_bug.cgi?id=1557769#c22

Michal Privoznik (5):
  virlog: Don't log devmapper
  utils: Introduce virFileGetMPathTargets
  virfile: Introduce virFileMajMinToName
  qemu: Handle multipath devices properly
  news: Document multipath fix

 docs/news.xml            |  10 ++++
 libvirt.spec.in          |   2 +
 src/libvirt_private.syms |   2 +
 src/qemu/qemu_cgroup.c   |  43 +++++++++++++-
 src/qemu/qemu_domain.c   |  58 +++++++++++++++++++
 src/util/virfile.c       | 143 +++++++++++++++++++++++++++++++++++++++++++++++
 src/util/virfile.h       |   7 +++
 src/util/virlog.c        |  23 ++++++++
 8 files changed, 285 insertions(+), 3 deletions(-)

-- 
2.16.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list