Re: [PATCH] tests: Fix libxlxml2domconfigtest with latest xen

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

 



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

Michal




[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