]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libxl: assume LIBXL_HAVE_SRM_V2
authorJán Tomko <jtomko@redhat.com>
Fri, 28 Jan 2022 18:54:05 +0000 (19:54 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 31 Jan 2022 19:38:53 +0000 (20:38 +0100)
Introduced in Xen 4.6.0 by:
  commit 3a9ace0147d48af49ffd34628f9510f248f2f588
    tools/libxc+libxl+xl: Restore v2 streams

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libxl/libxl_conf.h

index b74fedc2c8b084a34c99449cc5bdcc2b0c262c0a..e0662d90b3b79c1b8bf3698fc252cfb8fd02c1e8 100644 (file)
@@ -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 {