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

2020-01-23 Thread Michal Privoznik
On 1/17/20 7:24 PM, 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 find the emulator

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

2020-01-20 Thread Boris Fiuczynski
On 1/17/20 7:24 PM, 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. I forgot to mention that virConnectBaselineHypervisorCPU and

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

2020-01-20 Thread Boris Fiuczynski
Looks ok and also fixes on my system the problem. Tested-by: Boris Fiuczynski On 1/17/20 7:24 PM, 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.

[libvirt PATCH v2] 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