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] Fix the Xen build.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix the Xen build.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 12 May 2005 15:25:01 +0000
Delivery-date: Thu, 12 May 2005 16:04:24 +0000
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/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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1439, 2005/05/12 16:25:01+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Fix the Xen build.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 dom0_ops.c |   10 +++++-----
 domain.c   |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)


diff -Nru a/xen/common/dom0_ops.c b/xen/common/dom0_ops.c
--- a/xen/common/dom0_ops.c     2005-05-12 12:04:58 -04:00
+++ b/xen/common/dom0_ops.c     2005-05-12 12:04:58 -04:00
@@ -230,15 +230,15 @@
             break;
         }
         
-        if ( (op->u.pincpudomain.exec_domain >= MAX_VIRT_CPUS) ||
-             !d->exec_domain[op->u.pincpudomain.exec_domain] )
+        if ( (op->u.pincpudomain.vcpu >= MAX_VIRT_CPUS) ||
+             !d->exec_domain[op->u.pincpudomain.vcpu] )
         {
             ret = -EINVAL;
             put_domain(d);
             break;
         }
 
-        ed = d->exec_domain[op->u.pincpudomain.exec_domain];
+        ed = d->exec_domain[op->u.pincpudomain.vcpu];
         if ( ed == NULL )
         {
             ret = -ESRCH;
@@ -382,14 +382,14 @@
             break;
         }
 
-        if ( op->u.getvcpucontext.exec_domain >= MAX_VIRT_CPUS )
+        if ( op->u.getvcpucontext.vcpu >= MAX_VIRT_CPUS )
         {
             ret = -EINVAL;
             put_domain(d);
             break;
         }
         
-        ed = d->exec_domain[op->u.getvcpucontext.exec_domain];
+        ed = d->exec_domain[op->u.getvcpucontext.vcpu];
         if ( ed == NULL )
         {
             ret = -ESRCH;
diff -Nru a/xen/common/domain.c b/xen/common/domain.c
--- a/xen/common/domain.c       2005-05-12 12:04:58 -04:00
+++ b/xen/common/domain.c       2005-05-12 12:04:58 -04:00
@@ -221,7 +221,7 @@
 {
     int rc = 0;
     struct vcpu_guest_context *c = NULL;
-    unsigned long vcpu = setdomaininfo->exec_domain;
+    unsigned long vcpu = setdomaininfo->vcpu;
     struct exec_domain *ed; 
 
     if ( (vcpu >= MAX_VIRT_CPUS) || ((ed = d->exec_domain[vcpu]) == NULL) )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix the Xen build., BitKeeper Bot <=