[libvirt] [PATCH 1/1] numatune: Fix parsing of empty nodeset (0, ^0)

Ján Tomko jtomko at redhat.com
Mon Aug 11 11:52:54 UTC 2014


On 08/11/2014 12:03 PM, Erik Skultety wrote:
> Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1121837
> ---
>  src/conf/numatune_conf.c                           | 18 +++++++++++--
>  ...emuxml2argv-numatune-memory-invalid-nodeset.xml | 31 ++++++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |  1 +
>  3 files changed, 48 insertions(+), 2 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-numatune-memory-invalid-nodeset.xml

We already reject a bitmap with no bits set specified by an empty string.
I think we should be consistent and reject all other representations of an
empty bitmap in virBitmapParse, fixing this for all callers.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140811/e430ed60/attachment-0001.sig>


More information about the libvir-list mailing list