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

[Xen-changelog] [xen-unstable] hvm_op: Remove use of uint64_aligned_t from guest header file.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1283430626 -3600
# Node ID 4a628af0355c92253044c243e6756d158468cb47
# Parent  b5deda1c6bc4b08c156324a5f1e14b3bca993e65
hvm_op: Remove use of uint64_aligned_t from guest header file.

Manually pad to the required alignment instead.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/include/public/hvm/hvm_op.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r b5deda1c6bc4 -r 4a628af0355c xen/include/public/hvm/hvm_op.h
--- a/xen/include/public/hvm/hvm_op.h   Thu Sep 02 13:29:45 2010 +0100
+++ b/xen/include/public/hvm/hvm_op.h   Thu Sep 02 13:30:26 2010 +0100
@@ -135,8 +135,9 @@ struct xen_hvm_pagetable_dying {
 struct xen_hvm_pagetable_dying {
     /* Domain with a pagetable about to be destroyed. */
     domid_t  domid;
+    uint16_t pad[3]; /* align next field on 8-byte boundary */
     /* guest physical address of the toplevel pagetable dying */
-    uint64_aligned_t gpa;
+    uint64_t gpa;
 };
 typedef struct xen_hvm_pagetable_dying xen_hvm_pagetable_dying_t;
 DEFINE_XEN_GUEST_HANDLE(xen_hvm_pagetable_dying_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®.