[libvirt] [PATCH] check device-mapper when building without storage mpath

Wen Congyang wency at cn.fujitsu.com
Fri Feb 18 09:07:04 UTC 2011


At 02/18/2011 05:00 PM, Justin Clift Write:
> On 18/02/2011, at 7:46 PM, Jiri Denemark wrote:
> <snip>
>>
>>> Thanks for the fix, actually It can be reproduced simply by:
>>> % ./autogen.sh --with-storage-mpath=no
>>> % make
>>>
>>> As src/util/util.c invokes "dm_is_dm_major".
>>
>> Yes it does, but I'm not convinced this is the right approach to fix it. Why
>> should libvirt always require device-mapper libraries?
> 
> As a data point, device-mapper isn't available on non-Linux platforms.  If
> Osier was meaning to make it "required", I can see a problem about there. ;)

Do we build storage mpath on such platforms?

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




More information about the libvir-list mailing list