[libvirt PATCH 3/4] libxl: assume LIBXL_HAVE_SRM_V2

Ján Tomko jtomko at redhat.com
Fri Jan 28 19:19:12 UTC 2022


Introduced in Xen 4.6.0 by:
  commit 3a9ace0147d48af49ffd34628f9510f248f2f588
    tools/libxc+libxl+xl: Restore v2 streams

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 src/libxl/libxl_conf.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h
index b74fedc2c8..e0662d90b3 100644
--- a/src/libxl/libxl_conf.h
+++ b/src/libxl/libxl_conf.h
@@ -149,11 +149,7 @@ struct _libxlDriverPrivate {
 };
 
 #define LIBXL_SAVE_MAGIC "libvirt-xml\n \0 \r"
-#ifdef LIBXL_HAVE_SRM_V2
-# define LIBXL_SAVE_VERSION 2
-#else
-# define LIBXL_SAVE_VERSION 1
-#endif
+#define LIBXL_SAVE_VERSION 2
 
 typedef struct _libxlSavefileHeader libxlSavefileHeader;
 struct _libxlSavefileHeader {
-- 
2.34.1




More information about the libvir-list mailing list