Re: [PATCH 04/14] qemuxml2argvtest: Use virnuma mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux