libxl: assume LIBXL_HAVE_SRM_V2

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>
This commit is contained in:
Ján Tomko 2022-01-28 19:54:05 +01:00
parent 8ac22ba17e
commit c282edb782

View 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 {