]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: introduce hugepages-nodeset
authorPavel Hrdina <phrdina@redhat.com>
Wed, 8 Aug 2018 14:53:45 +0000 (16:53 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 10 Aug 2018 15:06:48 +0000 (17:06 +0200)
commit154b08a3a7b1f16fefefcc106982a062c065eacd
tree17482c8d8ab3a069c354fd96311500f51a995755
parent6ff69e936e4185983fc331c45b76d3b3d8b717ae
tests: introduce hugepages-nodeset

This use-case was broken by commit
<fa6bdf6afa878b8d7c5ed71664ee72be8967cdc5>.

We allowed this configuration and it was working as expected therefore
we can consider it as regression.  We should have never allowed such
configuration so now the best solution is in case of non-numa guest
silently ignore the 'nodeset' attribute if it's set to '0'.

That will be fixed by following patches.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/hugepages-nodeset.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/hugepages-nodeset.xml [new symlink]
tests/qemuxml2xmltest.c