Re: [PATCH v4 2/2] RAM API: Make use of it for x86 PC

2010-12-14 Thread Anthony Liguori
On 12/14/2010 09:16 AM, Alex Williamson wrote: On Tue, 2010-12-14 at 11:18 +0200, Avi Kivity wrote: On 12/13/2010 11:24 PM, Alex Williamson wrote: Register the actual VM RAM using the new API @@ -913,14 +913,11 @@ void pc_memory_init(ram_addr_t ram_size, /* allocate RAM */

Re: [PATCH v4 2/2] RAM API: Make use of it for x86 PC

2010-12-14 Thread Alex Williamson
On Tue, 2010-12-14 at 11:18 +0200, Avi Kivity wrote: > On 12/13/2010 11:24 PM, Alex Williamson wrote: > > Register the actual VM RAM using the new API > > > > > > @@ -913,14 +913,11 @@ void pc_memory_init(ram_addr_t ram_size, > > /* allocate RAM */ > > ram_addr = qemu_ram_alloc(NULL, "p

Re: [PATCH v4 2/2] RAM API: Make use of it for x86 PC

2010-12-14 Thread Avi Kivity
On 12/13/2010 11:24 PM, Alex Williamson wrote: Register the actual VM RAM using the new API @@ -913,14 +913,11 @@ void pc_memory_init(ram_addr_t ram_size, /* allocate RAM */ ram_addr = qemu_ram_alloc(NULL, "pc.ram", below_4g_mem_size + above_4g_mem_si

[PATCH v4 2/2] RAM API: Make use of it for x86 PC

2010-12-13 Thread Alex Williamson
Register the actual VM RAM using the new API Signed-off-by: Alex Williamson --- hw/pc.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index e1b2667..87adca2 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -913,14 +913,11 @@ void pc_memory_init(ram_addr