WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] hvm save/restore: Use a GUEST_HANDLE_64 r

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvm save/restore: Use a GUEST_HANDLE_64 rather than an ordinary GUEST_HANDLE
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Apr 2007 10:01:15 -0700
Delivery-date: Thu, 26 Apr 2007 10:00:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvm save/restore: Use a GUEST_HANDLE_64 rather than an ordinary GUEST_HANDLE, Xen patchbot-unstable <=