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 3/3] tools/xm-test: add cpus parm test in create

To: Ryan Harper <ryanh@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/3] tools/xm-test: add cpus parm test in create bucket
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 14 Aug 2006 18:34:02 +0100
Delivery-date: Mon, 14 Aug 2006 10:34:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060814165756.GM1694@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aca/x9UGE7rXaSu7EduTIwAKle7CWA==
Thread-topic: [Xen-devel] [PATCH 3/3] tools/xm-test: add cpus parm test in create bucket
User-agent: Microsoft-Entourage/11.2.5.060620


On 14/8/06 5:57 pm, "Ryan Harper" <ryanh@xxxxxxxxxx> wrote:

> This patch adds a test in the create bucket to exercise the parsing of
> the cpus parameter.  This patch utilizes the new form of getVcpuInfo
> from [PATCH 1/3].

Do these tests succeed even if, e.g. The test machine has only one CPU? Xen
will clip the cpumasks when it receives them (also it will fail the
set_affinity call if none of the specified CPUs are online) but this may not
matter if the affinity data is cached within xend and getVcpuInfo obtains
info from that cache.

 -- Keir



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