[libvirt] [PATCH v5 0/3] add nodeset check in numatune

Martin Kletzander mkletzan at redhat.com
Tue Nov 4 06:12:31 UTC 2014


On Tue, Nov 04, 2014 at 10:44:38AM +0800, Chen Fan wrote:
>when setting elements memnode and nodeset in attribute numatune more
>than the host nodes in XML file, VM boot should fail. so add check for
>that.
>

ACK && Pushed, thank you for the patches.

Martin

>Chen Fan (3):
>  bitmap: add virBitmapLastSetBit for finding the last bit position of
>    bitmap
>  numatune: add check for numatune nodeset range
>  virnuma: use virNumaNodesetIsAvailable checking nodeset in
>    virNumaSetupMemoryPolicy
>
> src/conf/numatune_conf.c                           | 28 ++++++++++++
> src/conf/numatune_conf.h                           |  1 +
> src/libvirt_private.syms                           |  2 +
> src/qemu/qemu_command.c                            |  4 ++
> src/util/virbitmap.c                               | 45 ++++++++++++++++++
> src/util/virbitmap.h                               |  3 ++
> src/util/virnuma.c                                 | 53 +++++++++++++++++-----
> src/util/virnuma.h                                 |  1 +
> ...rgv-numatune-static-nodeset-exceed-hostnode.xml | 35 ++++++++++++++
> tests/qemuxml2argvmock.c                           |  9 ++++
> tests/qemuxml2argvtest.c                           |  2 +
> tests/virbitmaptest.c                              | 13 +++++-
> 12 files changed, 184 insertions(+), 12 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-numatune-static-nodeset-exceed-hostnode.xml
>
>--
>1.9.3
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141104/a3ac8bc7/attachment-0001.sig>


More information about the libvir-list mailing list