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(-)