*/
#include <xen/config.h>
-#include <xen/compile.h>
#include <xen/lib.h>
+#include <xen/version.h>
#include <public/version.h>
#include <xen/sched.h>
-
#include <asm/hvm/hvm.h>
#include <asm/hvm/support.h>
#include <asm/hvm/domain.h>
#include <asm/current.h>
-
/* List of handlers for various HVM save and restore types */
static struct {
hvm_save_handler save;
hdr.cpuid = eax;
/* Save xen changeset */
- c = strrchr(XEN_CHANGESET, ':');
+ c = strrchr(xen_changeset(), ':');
if ( c )
hdr.changeset = simple_strtoll(c, NULL, 16);
else
"does not match host (%#"PRIx32").\n", hdr.cpuid, eax);
- c = strrchr(XEN_CHANGESET, ':');
+ c = strrchr(xen_changeset(), ':');
if ( hdr.changeset == -1ULL )
gdprintk(XENLOG_WARNING,
"HVM restore: Xen changeset was not saved.\n");