ia64/xen-unstable

changeset 14929:550a795a3dbd

hvm save/restore: Use a GUEST_HANDLE_64 rather than an ordinary GUEST_HANDLE
when getting the HVM context so as 32 bit dom0s on a 64 bit hypervisor
do the right thing.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
author Steven Smith <ssmith@xensource.com>
date Wed Apr 25 12:04:55 2007 +0100 (2007-04-25)
parents 867965efcbd2
children 33e22185002a 491bed0350f1
files xen/include/public/domctl.h
line diff
     1.1 --- a/xen/include/public/domctl.h	Wed Apr 25 09:49:18 2007 +0100
     1.2 +++ b/xen/include/public/domctl.h	Wed Apr 25 12:04:55 2007 +0100
     1.3 @@ -394,8 +394,10 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_setti
     1.4  #define XEN_DOMCTL_sethvmcontext     34
     1.5  typedef struct xen_domctl_hvmcontext {
     1.6      uint32_t size; /* IN/OUT: size of buffer / bytes filled */
     1.7 -    XEN_GUEST_HANDLE(uint8_t) buffer; /* IN/OUT: data, or call gethvmcontext 
     1.8 -                                       * with NULL buffer to get size req'd */
     1.9 +    XEN_GUEST_HANDLE_64(uint8_t) buffer; /* IN/OUT: data, or call
    1.10 +                                          * gethvmcontext with NULL
    1.11 +                                          * buffer to get size
    1.12 +                                          * req'd */
    1.13  } xen_domctl_hvmcontext_t;
    1.14  DEFINE_XEN_GUEST_HANDLE(xen_domctl_hvmcontext_t);
    1.15