From: Keir Fraser Subject: Re: "cpus" config parameter broken? Date: Thu, 10 Jan 2008 21:57:41 +0000 Message-ID: References: <20080110141024093.00000003216@djm-pc> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080110141024093.00000003216@djm-pc> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "dan.magenheimer@oracle.com" , Ian Pratt , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 10/1/08 21:10, "Dan Magenheimer" wrote: >>> - the v->cpu_affinity mask should never have bits set for >> >> This is already the case. > > No, with the cpus parameter, it is currently possible to > set bits in v->cpu_affinity mask for processors that don't > exist. Ah yes. But then the offline CPUs get masked out in vcpu_set_affinity(), and the affinity mask is then rejected if the remaining CPU set is empty. -- Keir