Re: libvirt, FreeBSD portability inquiry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/13/2011 12:38 AM, Matthias Bolte wrote:
> 2011/5/12 Jason Helfman <jhelfman@xxxxxxx>:
>> Hi,
>>
>> I am interested in porting libvirt to FreeBSD, and am curious if there may
>> be anything that may not be possible at this point in respect to the libvirt
>> source code to be aware of. Here is the log of the build of the software:
>>
>> I know it has been ported to MacOSX, and thought it could then be possible
>> with FreeBSD.
>>
>> Thanks,
>> Jason
> 
> libvirt should be compilable on FreeBSD. At least it was in this state
> a while ago when I've fixed some compile errors. I just check it
> again.
> 
> You'll need to explicitly run
> 
> ./configure --without-network --without-polkit
> 
> because libvirt's virtual networking code is specific to Linux bridges
> and libvirt doesn't polkit on FreeBSD yet.

It would be nice to patch configure.ac to auto-default those settings.

> Then it compiles for me. There are still several warnings about NULL
> format strings and devname shadowing a global symbol.

Do you have details on the shadowing?

> 
> Maybe Eric knows if this warning is critical:
> 
> util/sexpr.c: In function 'sexpr2string':
> util/sexpr.c:250: warning: null format string [-Wformat]
> 
> virSexprError(VIR_ERR_SEXPR_SERIAL, NULL);

Not critical (our printf wrappers explicitly check for NULL), but it
does indicate a user-quality issue (no details in the message seems like
a loss of information).

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]