[libvirt] [PATCH 20/24] conf: numa: Add helper to get guest NUMA node count and refactor users

John Ferlan jferlan at redhat.com
Thu Feb 19 23:49:48 UTC 2015



On 02/16/2015 01:52 PM, Peter Krempa wrote:
> Add an accessor so that a later refactor is simpler.
> ---
>  src/conf/domain_conf.c   |  2 +-
>  src/conf/numa_conf.c     | 15 +++++++++++++--
>  src/conf/numa_conf.h     |  2 ++
>  src/libvirt_private.syms |  1 +
>  src/qemu/qemu_command.c  |  6 +++---
>  5 files changed, 20 insertions(+), 6 deletions(-)
> 

Doh... Light dawns...

All the new accessor's should have a ATTRIBUTE_NONNULL(1) in the numa_conf.h

Something you may want to check for any new function up through here and
of course the next two patches at least...

John




More information about the libvir-list mailing list