From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UymIU-0008Ra-Ib for qemu-devel@nongnu.org; Mon, 15 Jul 2013 13:10:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UymIQ-0005Kn-Nx for qemu-devel@nongnu.org; Mon, 15 Jul 2013 13:10:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UymIQ-0005KZ-Fh for qemu-devel@nongnu.org; Mon, 15 Jul 2013 13:10:46 -0400 Message-ID: <51E42D06.9080004@redhat.com> Date: Mon, 15 Jul 2013 19:10:30 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <6b5ff346b23fba9a8707507fda7f9b71719a55be.1372234719.git.hutao@cn.fujitsu.com> <51CAB866.2080507@redhat.com> <51CBC8B3.8070708@cn.fujitsu.com> <51CBE1DD.9020301@redhat.com> <20130715170551.GC11958@dhcp-192-168-178-175.profitbricks.localdomain> In-Reply-To: <20130715170551.GC11958@dhcp-192-168-178-175.profitbricks.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 05/14] vl: handle "-device dimm" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasilis Liaskovitis Cc: Hu Tao , Bandan Das , Eduardo Habkost , gaowanlong@cn.fujitsu.com, qemu-devel@nongnu.org Il 15/07/2013 19:05, Vasilis Liaskovitis ha scritto: > from what i understand, we are currently favoring this numa option? (I saw it > mentioned in Gao's numa patchset series as well) The two patchsets have some overlap, so it's good to find a design that fits both. > There is still the question of "how many hotpluggable dimm devices does this > memory range describe?". With the dimm device that was clearly defined, but not > so with this option. Do we choose a default granularity e.g. 1 GB? I think it's the same. One "-numa mem" option = one "-device dimm" option; both define one range. Unused memory ranges may remain if you stumble upon a unusable range such as the PCI window. For example two "-numa mem,size=2G" options would allocate memory from 0 to 2G and from 4 to 6G. I'm snipping the rest of the email because I hope this covers all your doubts. Paolo