[PATCH] tests: Fix libxlxml2domconfigtest with latest xen
Michal Prívozník
mprivozn at redhat.com
Thu Oct 27 14:50:52 UTC 2022
On 10/27/22 16:14, Cole Robinson wrote:
> shadow_memkb is populated from a libxl API call, and the value can
> change. For example:
> https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=2c992810854a15b41be920519ce83a4a328d5168
>
> Mock libxl_get_required_shadow_memory to give consistent output
>
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
> tests/libxlmock.c | 11 +++++++++++
> tests/libxlxml2domconfigdata/basic-hvm.json | 2 +-
> tests/libxlxml2domconfigdata/basic-pv.json | 2 +-
> tests/libxlxml2domconfigdata/basic-pvh.json | 2 +-
> tests/libxlxml2domconfigdata/cpu-shares-hvm.json | 2 +-
> tests/libxlxml2domconfigdata/fullvirt-acpi-slic.json | 2 +-
> .../fullvirt-cpuid-legacy-nest.json | 2 +-
> tests/libxlxml2domconfigdata/fullvirt-cpuid.json | 2 +-
> .../libxlxml2domconfigdata/max-eventchannels-hvm.json | 2 +-
> tests/libxlxml2domconfigdata/max-gntframes-hvm.json | 2 +-
> tests/libxlxml2domconfigdata/moredevs-hvm.json | 2 +-
> tests/libxlxml2domconfigdata/multiple-ip.json | 2 +-
> tests/libxlxml2domconfigdata/variable-clock-hvm.json | 2 +-
> .../libxlxml2domconfigdata/vnuma-hvm-legacy-nest.json | 2 +-
> tests/libxlxml2domconfigdata/vnuma-hvm.json | 2 +-
> 15 files changed, 25 insertions(+), 14 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list