[libvirt] [PATCH 8/9] cpu: Introduce virCPUGetHostIsSupported
Pavel Hrdina
phrdina at redhat.com
Wed Apr 19 14:00:09 UTC 2017
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 at redhat.com>
> ---
> src/cpu/cpu.c | 20 ++++++++++++++++++++
> src/cpu/cpu.h | 3 +++
> src/libvirt_private.syms | 1 +
> 3 files changed, 24 insertions(+)
ACK
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170419/cda85df9/attachment-0001.sig>
More information about the libvir-list
mailing list