mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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:
parent
8ac22ba17e
commit
c282edb782
@ -149,11 +149,7 @@ struct _libxlDriverPrivate {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define LIBXL_SAVE_MAGIC "libvirt-xml\n \0 \r"
|
#define LIBXL_SAVE_MAGIC "libvirt-xml\n \0 \r"
|
||||||
#ifdef LIBXL_HAVE_SRM_V2
|
#define LIBXL_SAVE_VERSION 2
|
||||||
# define LIBXL_SAVE_VERSION 2
|
|
||||||
#else
|
|
||||||
# define LIBXL_SAVE_VERSION 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct _libxlSavefileHeader libxlSavefileHeader;
|
typedef struct _libxlSavefileHeader libxlSavefileHeader;
|
||||||
struct _libxlSavefileHeader {
|
struct _libxlSavefileHeader {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user