]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Adjust libxlxml2domconfigtest to work with Xen < 4.8
authorOlaf Hering <olaf@aepfle.de>
Mon, 8 Mar 2021 13:29:31 +0000 (14:29 +0100)
committerJim Fehlig <jfehlig@suse.com>
Wed, 17 Mar 2021 23:57:01 +0000 (17:57 -0600)
commitf07ae0fcbd84f52da6660a7ad0b19c99f6a6f9d6
tree73f9d2af78228ef7cf6ea4566473527ca6433512
parent18d0f2f9569edf3c26d912a7d8974a54bb32eee9
tests: Adjust libxlxml2domconfigtest to work with Xen < 4.8

Commit fcdc387410fadfb066b95395c5b5d2a6a16f7066 used a libxl API which
is only available since Xen 4.8.

Due to lack of a specific guard for this API change, reuse another
guard from libxl.h.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
tests/libxlxml2domconfigtest.c