On Mon, Aug 17, 2020 at 4:27 PM Michal Privoznik <mprivozn(a)redhat.com> wrote:
*** BLURB HERE ***
Michal Prívozník (2):
virdevmapper: Don't error on kernels without DM support
virdevmapper: Deal with unloading dm module
Hi Michal,
I know from the discussions on the patches that there likely will be
some changes before this is complete.
Nevertheless I did some testing with them already.
In particular since I was reporting this to also affect system
containers that have device-mapper
loaded as module and in /proc/devices but no /dev/mapper/control
exposed. I wanted to
give your patches a try for this use case as well since I wasn't sure
anyone else would.
I can confirm that functionally your patches applied on top of 6.6 (as
we work on it for
Debian&Ubuntu) make it work again. Therefore:
Tested-by: Christian Ehrhardt <christian.ehrhardt(a)canonical.com>
src/util/virdevmapper.c | 59
++++++++++++++++++++++++++++++++---------
1 file changed, 47 insertions(+), 12 deletions(-)
--
2.26.2
--
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd