From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41805 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON51b-0005NW-Bm for qemu-devel@nongnu.org; Fri, 11 Jun 2010 10:16:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ON51Y-0003VA-F4 for qemu-devel@nongnu.org; Fri, 11 Jun 2010 10:15:58 -0400 Received: from qmta11.westchester.pa.mail.comcast.net ([76.96.59.211]:35506) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ON51Y-0003UZ-DG for qemu-devel@nongnu.org; Fri, 11 Jun 2010 10:15:56 -0400 From: Alex Williamson Date: Fri, 11 Jun 2010 08:15:39 -0600 Message-ID: <20100611141500.19378.43942.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/2] RAM cleanup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, anthony@codemonkey.ws Cc: chrisw@redhat.com, alex.williamson@redhat.com, kvm@vger.kernel.org These are the first two patches from the RFC sent out a couple days ago. There seemed to be concensus that these were headed in the right direction, so I'll post them for commit while we decided how to name RAMBlocks. Changes - rename 'ram' to 'ram_list' to avoid polluting the global namespace quite so much, restore the error message and abort for bad address in qemu_get_ram_ptr(). Alex --- Alex Williamson (2): ram_blocks: Convert to a QLIST qemu_ram_alloc: Remove duplicate code arch_init.c | 14 ++++--- cpu-all.h | 28 +++++++++++---- exec.c | 112 ++++++++++++++++++----------------------------------------- 3 files changed, 62 insertions(+), 92 deletions(-)