Re: [Qemu-devel] [PATCH v2 1/2] Minimal RAM API support

2010-11-20 Thread Anthony Liguori
On 11/01/2010 10:14 AM, Alex Williamson wrote: This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Signed-off-by: Alex Williamson --- Makefile.objs |1 + cpu-common.h |2 + memory.

Re: [Qemu-devel] [PATCH v2 1/2] Minimal RAM API support

2010-11-16 Thread Anthony Liguori
On 11/16/2010 09:02 AM, Alexander Graf wrote: +static QemuRamSlot *qemu_ram_find_slot(target_phys_addr_t start_addr, + ram_addr_t size) +{ +QemuRamSlot *slot; + +QLIST_FOREACH(slot,&ram_slots.slots, next) { +if (slot->start_addr == start_addr&

Re: [Qemu-devel] [PATCH v2 1/2] Minimal RAM API support

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 15:55, Anthony Liguori wrote: > On 11/01/2010 10:14 AM, Alex Williamson wrote: >> This adds a minimum chunk of Anthony's RAM API support so that we >> can identify actual VM RAM versus all the other things that make >> use of qemu_ram_alloc. >> >> Signed-off-by: Alex Williamson

[Qemu-devel] [PATCH v2 1/2] Minimal RAM API support

2010-11-01 Thread Alex Williamson
This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Signed-off-by: Alex Williamson --- Makefile.objs |1 + cpu-common.h |2 + memory.c | 109 +