[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] hvm save/restore: Use a GUEST_HANDLE_64 rather than an ordinary GUEST_HANDLE



# HG changeset patch
# User Steven Smith <ssmith@xxxxxxxxxxxxx>
# Date 1177499095 -3600
# Node ID 550a795a3dbd281de78cc513e183576a554ae1b0
# Parent  867965efcbd2f178de9df80b356087f68221a94b
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@xxxxxxxxx>
---
 xen/include/public/domctl.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 867965efcbd2 -r 550a795a3dbd xen/include/public/domctl.h
--- a/xen/include/public/domctl.h       Wed Apr 25 09:49:18 2007 +0100
+++ b/xen/include/public/domctl.h       Wed Apr 25 12:04:55 2007 +0100
@@ -394,8 +394,10 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_setti
 #define XEN_DOMCTL_sethvmcontext     34
 typedef struct xen_domctl_hvmcontext {
     uint32_t size; /* IN/OUT: size of buffer / bytes filled */
-    XEN_GUEST_HANDLE(uint8_t) buffer; /* IN/OUT: data, or call gethvmcontext 
-                                       * with NULL buffer to get size req'd */
+    XEN_GUEST_HANDLE_64(uint8_t) buffer; /* IN/OUT: data, or call
+                                          * gethvmcontext with NULL
+                                          * buffer to get size
+                                          * req'd */
 } xen_domctl_hvmcontext_t;
 DEFINE_XEN_GUEST_HANDLE(xen_domctl_hvmcontext_t);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.