[PATCH 0/2] virdevmapper: Deal with kernels without DM support

Christian Ehrhardt christian.ehrhardt at canonical.com
Tue Aug 18 09:00:41 UTC 2020


On Mon, Aug 17, 2020 at 4:27 PM Michal Privoznik <mprivozn at 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 at 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





More information about the libvir-list mailing list