Re: [libvirt PATCH] qemu: fixing auto-detecting binary in domain capabilities

2020-01-17 Thread Daniel P . Berrangé
On Fri, Jan 17, 2020 at 02:54:53PM +0100, Ján Tomko wrote: > On Fri, Jan 17, 2020 at 01:29:36PM +, Daniel P. Berrangé wrote: > > The virConnectGetDomainCapabilities API accepts either a binary path > > to the emulator, or desired guest arch. If guest arch is not given, > > then the host arch is

Re: [libvirt PATCH] qemu: fixing auto-detecting binary in domain capabilities

2020-01-17 Thread Ján Tomko
On Fri, Jan 17, 2020 at 01:29:36PM +, Daniel P. Berrangé wrote: The virConnectGetDomainCapabilities API accepts either a binary path to the emulator, or desired guest arch. If guest arch is not given, then the host arch is assumed. In the case where the binary is not given, the code tried to

Re: [libvirt PATCH] qemu: fixing auto-detecting binary in domain capabilities

2020-01-17 Thread Richard W.M. Jones
On Fri, Jan 17, 2020 at 01:29:36PM +, Daniel P. Berrangé wrote: > The virConnectGetDomainCapabilities API accepts either a binary path > to the emulator, or desired guest arch. If guest arch is not given, > then the host arch is assumed. > > In the case where the binary is not given, the code

[libvirt PATCH] qemu: fixing auto-detecting binary in domain capabilities

2020-01-17 Thread Daniel P . Berrangé
The virConnectGetDomainCapabilities API accepts either a binary path to the emulator, or desired guest arch. If guest arch is not given, then the host arch is assumed. In the case where the binary is not given, the code tried to find the emulator binary in the existing list of cached emulator capa