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-devel

Re: [Xen-devel] [PATCH] new nomigrate config option

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] new nomigrate config option
From: xen@xxxxxxxxxxxx
Date: Tue, 20 Oct 2009 11:01:39 +0200
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 20 Oct 2009 02:01:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <64eba563-acdf-4733-a454-d74c604752ae@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <64eba563-acdf-4733-a454-d74c604752ae@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)
Hello!

I like this feature - but it (CS 20344: d61a0c986a68) does not compile for me.

Is is possible that there is a lost indirection in the domain.c? (I'm very unsure about this patch: it's only compile-tested.)

Kind regards

Andreas


diff -r d61a0c986a68 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Tue Oct 20 08:45:12 2009 +0100
+++ b/xen/arch/x86/domain.c     Tue Oct 20 10:59:35 2009 +0200
@@ -523,7 +523,7 @@
     spin_lock_init(&d->arch.vtsc_lock);

     if ( d->domain_id == 0 )
-        d->disable_migrate = 1;
+        d->arch.disable_migrate = 1;

     return 0;



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