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] Fix ACM build after recent grant-table co

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix ACM build after recent grant-table code changes.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Feb 2007 17:20:08 -0800
Delivery-date: Mon, 19 Feb 2007 17:20:00 -0800
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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171900371 0
# Node ID 3b7bdb7bd1303eff6db3e223fc5bb8d06c86c570
# Parent  ac570a3c79a2ae436883fbb16adb5c1e53558982
Fix ACM build after recent grant-table code changes.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 xen/acm/acm_simple_type_enforcement_hooks.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff -r ac570a3c79a2 -r 3b7bdb7bd130 xen/acm/acm_simple_type_enforcement_hooks.c
--- a/xen/acm/acm_simple_type_enforcement_hooks.c       Mon Feb 19 15:51:46 
2007 +0000
+++ b/xen/acm/acm_simple_type_enforcement_hooks.c       Mon Feb 19 15:52:51 
2007 +0000
@@ -177,7 +177,7 @@ ste_init_state(struct acm_ste_policy_buf
     ssidref_t ste_ssidref, ste_rssidref;
     struct domain **pd, *rdom;
     domid_t rdomid;
-    grant_entry_t sha_copy;
+    struct grant_entry *sha_copy;
     int port, i;
 
     read_lock(&domlist_lock); /* go by domain? or directly by global? 
event/grant list */
@@ -238,13 +238,13 @@ ste_init_state(struct acm_ste_policy_buf
             printkd("%s: Grant ... sharing for domain %x not setup!\n", 
__func__, (*pd)->domain_id);
             continue;
         }
-        for ( i = 0; i < NR_GRANT_ENTRIES; i++ ) {
+        for ( i = 0; i < nr_grant_frames((*pd)->grant_table); i++ ) {
             sha_copy =  (*pd)->grant_table->shared[i];
-            if ( sha_copy.flags ) {
+            if ( sha_copy->flags ) {
                 printkd("%s: grant dom (%hu) SHARED (%d) flags:(%hx) dom:(%hu) 
frame:(%lx)\n",
                         __func__, (*pd)->domain_id, i, sha_copy.flags, 
sha_copy.domid, 
                         (unsigned long)sha_copy.frame);
-                rdomid = sha_copy.domid;
+                rdomid = sha_copy->domid;
                 if ((rdom = get_domain_by_id(rdomid)) == NULL) {
                     printkd("%s: domain not found ERROR!\n", __func__);
                     goto out;

_______________________________________________
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] Fix ACM build after recent grant-table code changes., Xen patchbot-unstable <=