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

[Xen-devel] Re: [PATCH][xm-test] Check for Dom0 vcpus in a loop with a t

To: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH][xm-test] Check for Dom0 vcpus in a loop with a timeout in xm-test test enforce_dom0_cpus
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Fri, 19 May 2006 16:22:00 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 19 May 2006 08:22:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <94C8C9E8B25F564F95185BDA64AB05F6038A4ADF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <94C8C9E8B25F564F95185BDA64AB05F6038A4ADF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, May 12, 2006 at 04:35:37PM -0400, Subrahmanian, Raj wrote:

> The enforce_dom0_cpus test sets the number of vcpus for the Dom0 and
> checks to see if they have been set correctly. We found that on
> multi-proc systems, it takes a certain amount of time for the number of
> vcpus to change. 
> 
> This patch checks the number of vcpus inside a loop until it is correct
> or 20 seconds elapse, whichever happens first. If after 20 seconds the
> number of vcpus is not changed correctly, an error is raised. 
> 
> With reference to this email discussion.
> http://lists.xensource.com/archives/html/xen-devel/2006-05/msg00155.html
> 
> Thanks to Brian Carb <brian.carb@xxxxxxxxxx> for testing it out.
> 
> Raj
> 
> Signed-off-by: Rajagopalan Subrahmanian
> <raj.subrahmanian@xxxxxxxxxx>

Applied, thanks Raj.

Ewan.

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

<Prev in Thread] Current Thread [Next in Thread>