From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 0/2] RAM cleanup 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 Cc: kvm@vger.kernel.org, chrisw@redhat.com, alex.williamson@redhat.com To: qemu-devel@nongnu.org, anthony@codemonkey.ws Return-path: Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]:60109 "EHLO qmta06.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752992Ab0FKOP4 (ORCPT ); Fri, 11 Jun 2010 10:15:56 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-)