From: Ian Jackson Subject: Re: [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts. Date: Wed, 8 May 2013 17:03:53 +0100 Message-ID: <20874.30569.891795.43120@mariner.uk.xensource.com> References: <1367959244-5413-1-git-send-email-konrad.wilk@oracle.com> <1368009999.26321.223.camel@zakaz.uk.xensource.com> <20130508142903.GA9314@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130508142903.GA9314@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: George Dunlap , "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts."): > Note that all of the libxl_cpu_bitmap_[test|set] silently ignore > any test or sets above its size: > > if (bit >= bitmap->size * 8) > return 0; > > so we were never notified off this bug. I hadn't spotted that. Arguably "return 0" should be "abort()". > Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Ian Jackson Thanks, Ian.