File xen.sr-LIBXL_API_VERSION.patch of Package xen
From: Olaf Hering <olaf@aepfle.de>
Date: Thu, 7 Jan 2021 15:33:54 +0100
Subject: sr LIBXL_API_VERSION
tools: recognize LIBXL_API_VERSION for 4.19
This is required by upcoming API changes.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
tools/include/libxl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/include/libxl.h
+++ b/tools/include/libxl.h
@@ -791,25 +791,25 @@
typedef struct libxl__ctx libxl_ctx;
#include <libxl_uuid.h>
#include <xen_list.h>
/* API compatibility. */
#ifdef LIBXL_API_VERSION
#if LIBXL_API_VERSION != 0x040200 && LIBXL_API_VERSION != 0x040300 && \
LIBXL_API_VERSION != 0x040400 && LIBXL_API_VERSION != 0x040500 && \
LIBXL_API_VERSION != 0x040700 && LIBXL_API_VERSION != 0x040800 && \
LIBXL_API_VERSION != 0x041300 && LIBXL_API_VERSION != 0x041400 && \
- LIBXL_API_VERSION != 0x041800
+ LIBXL_API_VERSION != 0x041800 && LIBXL_API_VERSION != 0x041900
#error Unknown LIBXL_API_VERSION
#endif
#endif
/* LIBXL_HAVE_RETRIEVE_DOMAIN_CONFIGURATION
*
* If this is defined we have libxl_retrieve_domain_configuration which
* returns the current configuration of a domain, which can be used to
* rebuild a domain.
*/
#define LIBXL_HAVE_RETRIEVE_DOMAIN_CONFIGURATION 1