On Thu, Apr 13, 2017 at 03:32:57PM +0200, Jiri Denemark wrote:
Sometimes we want to call virCPUGetHost only when it is implemented
for
a given architecture to avoid logging expected and possibly misleading
errors. The new virCPUGetHostIsSupported API may be used to guard such
calls to virCPUGetHost.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/cpu/cpu.c | 20 ++++++++++++++++++++
src/cpu/cpu.h | 3 +++
src/libvirt_private.syms | 1 +
3 files changed, 24 insertions(+)
ACK
Pavel