Re: [libvirt] [PATCH v2] util: activate directory override when used from library

2019-09-09 Thread Daniel P . Berrangé
On Mon, Sep 09, 2019 at 12:38:25PM +0200, Pavel Hrdina wrote: > On Thu, Sep 05, 2019 at 11:52:09AM +0100, Daniel P. Berrangé wrote: > > The Perl bindings for libvirt use the test driver for unit tests. This > > tries to load the cpu_map/index.xml file, and when run from an > > uninstalled build

Re: [libvirt] [PATCH v2] util: activate directory override when used from library

2019-09-09 Thread Pavel Hrdina
On Thu, Sep 05, 2019 at 11:52:09AM +0100, Daniel P. Berrangé wrote: > The Perl bindings for libvirt use the test driver for unit tests. This > tries to load the cpu_map/index.xml file, and when run from an > uninstalled build will fail. > > The problem is that virFileActivateDirOverride is called

[libvirt] [PATCH v2] util: activate directory override when used from library

2019-09-05 Thread Daniel P . Berrangé
The Perl bindings for libvirt use the test driver for unit tests. This tries to load the cpu_map/index.xml file, and when run from an uninstalled build will fail. The problem is that virFileActivateDirOverride is called by our various binaries like libvirtd, virsh, but is not called when a 3rd