Received: from eggs.gnu.org ([2001:4830:134:3::10]:54578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wwyy2-0002aZ-IU for qemu-devel@nongnu.org; Tue, 17 Jun 2014 15:22:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wwyxv-00008w-3i for qemu-devel@nongnu.org; Tue, 17 Jun 2014 15:22:50 -0400 Date: Tue, 17 Jun 2014 16:22:33 -0300 From: Eduardo Habkost Message-ID: <20140617192233.GH3222@otherpad.lan.raisama.net> References: <1402905233-26510-1-git-send-email-aik@ozlabs.ru> <539EA7DD.8040306@ozlabs.ru> <20140616205150.GD8629@otherpad.lan.raisama.net> <539FD767.2020905@ozlabs.ru> <20140617140700.GG3222@otherpad.lan.raisama.net> <20140617183815.GQ16644@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140617183815.GQ16644@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH 0/7] spapr: rework memory nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nishanth Aravamudan Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf On Tue, Jun 17, 2014 at 11:38:16AM -0700, Nishanth Aravamudan wrote: > On 17.06.2014 [11:07:00 -0300], Eduardo Habkost wrote: > > > > If it is canonical and kosher way of using NUMA in QEMU, ok, we can use it. > > > I just fail to see why we need a requirement for nodes to go consequently > > > here. And it confuses me as a user a bit if I can add "-numa > > > node,nodeid=22" (no memory, no cpus) but do not get to see it in the guest. > > > > I agree with you it is confusing. But before we support that use case, > > we need to make sure auto-allocation is handled properly, because it > > would be hard to fix it later without breaking compatibility. > > > > We probably just need a "present" field on struct NodeInfo, so > > machine-specific code and auto-allocation code can differentiate nodes > > that are not present on the command-line from empty nodes that were > > specified in the command-line. > > What/where is struct NodeInfo? It was introduced very recently. See the pull request at: From: "Michael S. Tsirkin" Message-ID: <1403021756-15960-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 000/103] pc, pci, virtio, hotplug fixes, enhancements for 2.1 git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream -- Eduardo