[PATCH 04/14] qemuxml2argvtest: Use virnuma mock
Andrea Bolognani
abologna at redhat.com
Mon Mar 13 17:45:14 UTC 2023
On Wed, Mar 08, 2023 at 12:14:31PM +0100, Michal Privoznik wrote:
> 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 at redhat.com>
> ---
> tests/meson.build | 2 +-
> tests/qemuxml2argvtest.c | 5 ++++-
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/tests/meson.build b/tests/meson.build
> index 15b049c6ac..44a04698cf 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -88,13 +88,13 @@ mock_libs = [
> { 'name': 'virportallocatormock' },
> { 'name': 'virprocessmock' },
> { 'name': 'virrandommock' },
> + { 'name': 'virnumamock' },
> ]
Please keep this list sorted.
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list