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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] hvm_op: Remove use of uint64_aligned_t fr

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvm_op: Remove use of uint64_aligned_t from guest header file.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 03 Sep 2010 09:50:45 -0700
Delivery-date: Fri, 03 Sep 2010 09:52:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 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;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvm_op: Remove use of uint64_aligned_t from guest header file., Xen patchbot-unstable <=