On 3/17/21 4:57 AM, Olaf Hering wrote:
Various changes to handle libxl API variants.
Thanks for taking this on! It is much simpler than the crap I've cooked up in
the past. I haven't taken another stab since we've moved to meson, and I'd
like
to blame autotools, but...
We'll need to sort out the naming I mentioned in patch 1, which will affect the
others. I also pointed out a few small problems in patches 8 and 11, but
otherwise looking good!
Regards,
Jim
Olaf
Olaf Hering (12):
libxl: add API wrapper for libxl_domain_create_restore
libxl: add API wrapper for libxl_retrieve_domain_configuration
libxl: add API wrapper for libxl_domain_shutdown
libxl: add API wrapper for libxl_domain_reboot
libxl: add API wrapper for libxl_domain_pause
libxl: add API wrapper for libxl_domain_unpause
libxl: add API wrapper for libxl_domain_need_memory
libxl: add API wrapper for libxl_get_free_memory
libxl: add API wrapper for libxl_set_vcpuonline
libxl: add API wrapper for libxl_send_trigger
libxl: add API wrapper for libxl_set_memory_target
libxl: use API 4.13 to support domUs with more than 4TB
meson.build | 7 +-
src/libxl/libxl_api.h | 219 ++++++++++++++++++++++++++++++++++++
src/libxl/libxl_conf.c | 5 +-
src/libxl/libxl_domain.c | 23 ++--
src/libxl/libxl_driver.c | 21 ++--
src/libxl/libxl_migration.c | 3 +-
tests/libxlmock.c | 7 +-
7 files changed, 259 insertions(+), 26 deletions(-)
create mode 100644 src/libxl/libxl_api.h