[libvirt] Problem compiling latest code from libvirt CVS

Dave Allan dallan at redhat.com
Fri Jun 5 17:43:15 UTC 2009


Daniel P. Berrange wrote:
> On Fri, Jun 05, 2009 at 12:08:13PM -0400, Dave Allan wrote:
>> Daniel P. Berrange wrote:
>> <snip>
>>> which is failing because neither of the node device driver implementations
>>> are turned on.
>>>
>>> This is a bug in the storage_backend.c file. This is a generic shared file
>>> and as such, it should not have any  dependancy on the node device driver 
>>> code, since the latter is guarenteed to be available.
>> I'd split out this code to avoid duplication, but I'll refactor it again 
>> to avoid the dependency on the node device code & submit a patch.
> 
> Simply having the dependancy reversed should be OK. storage_backend.c
> is a shared file always available to drivers.
> 
> Daniel

Here's a patch that should remove the dependency on the node device code.

Dave

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-build-failure-when-building-without-node-device.patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090605/d357c7d3/attachment-0001.ksh>


More information about the libvir-list mailing list