From: Stefan Berger Subject: [PATCH] [ACM/Xen] Fix policy buffer layout changed with XSM Date: Tue, 04 Sep 2007 10:57:04 -0400 Message-ID: <1188917824.6407.3.camel@gsal-3.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-NuKVnfMBJdbYeeIryTKO" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser , gscoker@alpha.ncsc.mil List-Id: xen-devel@lists.xenproject.org --=-NuKVnfMBJdbYeeIryTKO Content-Type: text/plain Content-Transfer-Encoding: 7bit This fixes a regression due to changes in the policy buffer layout submitted by the XSM module. Signed-off-by: Stefan Berger --=-NuKVnfMBJdbYeeIryTKO Content-Disposition: attachment; filename=acm_policy_buffer_fix.diff Content-Type: text/x-patch; name=acm_policy_buffer_fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -r e8b71d5e584d xen/include/public/xsm/acm.h --- a/xen/include/public/xsm/acm.h Mon Sep 03 15:04:03 2007 +0100 +++ b/xen/include/public/xsm/acm.h Tue Sep 04 10:38:09 2007 -0400 @@ -150,8 +150,8 @@ struct acm_policy_version * tools that assume packed representations (e.g. the java tool) */ struct acm_policy_buffer { + uint32_t policy_version; /* ACM_POLICY_VERSION */ uint32_t magic; - uint32_t policy_version; /* ACM_POLICY_VERSION */ uint32_t len; uint32_t policy_reference_offset; uint32_t primary_policy_code; --=-NuKVnfMBJdbYeeIryTKO Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-NuKVnfMBJdbYeeIryTKO--