]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Use virnuma mock
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Mar 2023 14:36:35 +0000 (15:36 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Mar 2023 11:46:24 +0000 (12:46 +0100)
commit28ec9d86b3db4bd9ea29891350366ffa6895d4e9
tree91e97296dcfd0492435362a0219502a53bbb03ed
parent213b6822a8ae508e0dd5e262b28c2c7000140293
qemuxml2argvtest: Use virnuma mock

While no part of cmd line building process currently depends on a
host NUMA configuration, this will change soon. Use freshly
changed virnumamock from qemuxml2argvtest and make the mock read
NUMA data from vircaps2xmldata which seems to have the most rich
NUMA configuration.

This also means, we have to start building virnumamock
unconditionally. But this is not a problem, since nothing inside
of the mock relies on Linux specificity. The whole mock is merely
just reading files and parsing them.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/meson.build
tests/qemuxml2argvtest.c