# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1175850842 -3600
# Node ID ba1911d8b5f7bfe3e3bd7eca5c1f368a33038408
# Parent 5a7eebbae5dc2cf9cc0e046eb8b06b04689b8046
ia64: Fix libxenguest build after save/restore interface changes.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
tools/libxc/ia64/xc_ia64_linux_restore.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff -r 5a7eebbae5dc -r ba1911d8b5f7 tools/libxc/ia64/xc_ia64_linux_restore.c
--- a/tools/libxc/ia64/xc_ia64_linux_restore.c Fri Apr 06 10:10:45 2007 +0100
+++ b/tools/libxc/ia64/xc_ia64_linux_restore.c Fri Apr 06 10:14:02 2007 +0100
@@ -59,9 +59,10 @@ read_page(int xc_handle, int io_fd, uint
}
int
-xc_linux_restore(int xc_handle, int io_fd, uint32_t dom,
+xc_domain_restore(int xc_handle, int io_fd, uint32_t dom,
unsigned int store_evtchn, unsigned long *store_mfn,
- unsigned int console_evtchn, unsigned long *console_mfn)
+ unsigned int console_evtchn, unsigned long *console_mfn,
+ unsigned int hvm, unsigned int pae)
{
DECLARE_DOMCTL;
int rc = 1, i;
@@ -80,6 +81,11 @@ xc_linux_restore(int xc_handle, int io_f
/* A temporary mapping of the guest's start_info page. */
start_info_t *start_info;
+
+ if (hvm) {
+ ERROR("HVM Restore is unsupported");
+ goto out;
+ }
/* For info only */
nr_pfns = 0;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|