ia64/xen-unstable

changeset 14760:ba1911d8b5f7

ia64: Fix libxenguest build after save/restore interface changes.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author Keir Fraser <keir@xensource.com>
date Fri Apr 06 10:14:02 2007 +0100 (2007-04-06)
parents 5a7eebbae5dc
children ef33477324f6
files tools/libxc/ia64/xc_ia64_linux_restore.c
line diff
     1.1 --- a/tools/libxc/ia64/xc_ia64_linux_restore.c	Fri Apr 06 10:10:45 2007 +0100
     1.2 +++ b/tools/libxc/ia64/xc_ia64_linux_restore.c	Fri Apr 06 10:14:02 2007 +0100
     1.3 @@ -59,9 +59,10 @@ read_page(int xc_handle, int io_fd, uint
     1.4  }
     1.5  
     1.6  int
     1.7 -xc_linux_restore(int xc_handle, int io_fd, uint32_t dom,
     1.8 +xc_domain_restore(int xc_handle, int io_fd, uint32_t dom,
     1.9                   unsigned int store_evtchn, unsigned long *store_mfn,
    1.10 -                 unsigned int console_evtchn, unsigned long *console_mfn)
    1.11 +                 unsigned int console_evtchn, unsigned long *console_mfn,
    1.12 +                 unsigned int hvm, unsigned int pae)
    1.13  {
    1.14      DECLARE_DOMCTL;
    1.15      int rc = 1, i;
    1.16 @@ -81,6 +82,11 @@ xc_linux_restore(int xc_handle, int io_f
    1.17      /* A temporary mapping of the guest's start_info page. */
    1.18      start_info_t *start_info;
    1.19  
    1.20 +    if (hvm) {
    1.21 +        ERROR("HVM Restore is unsupported");
    1.22 +        goto out;
    1.23 +    }
    1.24 +
    1.25      /* For info only */
    1.26      nr_pfns = 0;
    1.27