]> xenbits.xensource.com Git - libvirt.git/commit
tests: Fix libxlxml2domconfigtest with latest xen
authorCole Robinson <crobinso@redhat.com>
Thu, 27 Oct 2022 12:51:25 +0000 (08:51 -0400)
committerCole Robinson <crobinso@redhat.com>
Sun, 30 Oct 2022 16:34:02 +0000 (12:34 -0400)
commit72d4709ab901dd3699d342f15ca3aff9bffddf96
tree760f64b857db3266f710491aec04e8bcd7a0f12d
parentde842f37a1d7626c6e2d334f7966d17a75c5a81f
tests: Fix libxlxml2domconfigtest with latest xen

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

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
15 files changed:
tests/libxlmock.c
tests/libxlxml2domconfigdata/basic-hvm.json
tests/libxlxml2domconfigdata/basic-pv.json
tests/libxlxml2domconfigdata/basic-pvh.json
tests/libxlxml2domconfigdata/cpu-shares-hvm.json
tests/libxlxml2domconfigdata/fullvirt-acpi-slic.json
tests/libxlxml2domconfigdata/fullvirt-cpuid-legacy-nest.json
tests/libxlxml2domconfigdata/fullvirt-cpuid.json
tests/libxlxml2domconfigdata/max-eventchannels-hvm.json
tests/libxlxml2domconfigdata/max-gntframes-hvm.json
tests/libxlxml2domconfigdata/moredevs-hvm.json
tests/libxlxml2domconfigdata/multiple-ip.json
tests/libxlxml2domconfigdata/variable-clock-hvm.json
tests/libxlxml2domconfigdata/vnuma-hvm-legacy-nest.json
tests/libxlxml2domconfigdata/vnuma-hvm.json