From: Ian Jackson Subject: Re: [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts. Date: Fri, 10 May 2013 19:05:12 +0100 Message-ID: <20877.14040.671929.683487@mariner.uk.xensource.com> References: <1368009999.26321.223.camel@zakaz.uk.xensource.com> <20130508142903.GA9314@phenom.dumpdata.com> <1368025493.17285.18.camel@zakaz.uk.xensource.com> <20130508163550.GC369@phenom.dumpdata.com> <1368031774.17285.49.camel@zakaz.uk.xensource.com> <20130508170515.GA1184@phenom.dumpdata.com> <1368040183.3756.17.camel@dagon.hellion.org.uk> <20130508223911.GA9226@phenom.dumpdata.com> <518B67BE.2000703@eu.citrix.com> <20130509131349.GC7945@konrad-lan.dumpdata.com> <518BABDE.4000601@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <518BABDE.4000601@eu.citrix.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: George Dunlap Cc: "juergen.gross@ts.fujitsu.com" , "xen-devel@lists.xensource.com" , Ian Campbell , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("Re: [Xen-devel] [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts."): > Yes, I think IanC and I are disagreeing about ideal xl behavior. We > both agree that "vcpus > pcpus" is a bad configuration. I think ideally > we should support it (because administrators should be allowed to shoot > themselves in the foot) and Ian seems to be making the case that we > shouldn't support it. I'm with George on this one. > > I think what you and Ian would like me to do: > > > > For Xen 4.3: > > - Add a warning to the vcpu-set that the user might be doing something > > silly if they are trying to set 'xl vcpu-set vcpus' where vcpus > > > pcpus. Something along: "You are overcommiting. You have x PCPUs and > > you want y vCPUS. Aborting - if you would like to do this please use > > --no-seatbelt'. > > - If user is trying to do vcpu-set on more than pcpus abort the request > > unless the '--no-seatbelt' option is provided. > > > > For Xen 4.4: > > - Remove those two things above and make vcpu-set work irregardless of > > the pcpus value? No that does not sound right. > > I think for 4.3, if this patch is the quickest way to get rid of the bug > of xl crashing, we should just accept it. Yes, absolutely. I think the patch should go into 4.3. Ian.