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