[libvirt] [PATCH 2/3] virhostcpu: Expose virHostCPUGetOnline on non-Linux

Pavel Hrdina phrdina at redhat.com
Mon Mar 27 14:40:40 UTC 2017


On Mon, Mar 27, 2017 at 04:21:09PM +0200, Martin Kletzander wrote:
> Previously, this function must've been called only on Linux in order
> to fail gracefully.  That lead to #ifdef mess in callers, so the
> function was redesigned so it failed gracefully on non-existing
> files.  However that commit forgot to define the function outside the
> __linux__ ifdef.

It would be nice to mention the commit id in the commit message.

> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  src/util/virhostcpu.c | 35 +++++++++++++++++------------------
>  1 file changed, 17 insertions(+), 18 deletions(-)

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/20170327/786003e8/attachment-0001.sig>


More information about the libvir-list mailing list