tests/daemon-conf bug

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

 



Right now, the daemon-conf test fires up an instance of libvirtd, but
that instance tries to probe the installed location of cpu_map.xml
rather than an in-tree location, which means the test is liable to fail
if run on a just built but uninstalled binary:

I/O warning : failed to load external entity
"/usr/local/share/libvirt/cpu_map.xml"
17:10:50.357: 14549: warning : qemuCapsInit:774 : Failed to get host CPU

I'm not sure how to go about isolating the test from the installation
directory, since libvirtd currently doesn't have any way (either via
command line argument or via the temp.conf file) to override the
preferred location of other files such as cpu_map.xml.  Maybe a new
libvirtd.conf entry is called for, which defaults to the installation
location, but which daemon-conf munges to the in-tree location before
passing --conf-file to the libvirtd instance.

-- 
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]