From fce537d4a741521ac182d54465c568b101b9a71e Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 18 Dec 2011 15:48:55 +0200 Subject: memory, xen: pass MemoryRegion to xen_ram_alloc() Currently xen_ram_alloc() relies on ram_addr, which is going away. Give it something else to use as a cookie. Signed-off-by: Avi Kivity --- xen-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen-all.c') diff --git a/xen-all.c b/xen-all.c index b5e28abd40..b441fc188a 100644 --- a/xen-all.c +++ b/xen-all.c @@ -181,7 +181,7 @@ static void xen_ram_init(ram_addr_t ram_size) } } -void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size) +void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, MemoryRegion *mr) { unsigned long nr_pfn; xen_pfn_t *pfn_list; -- cgit v1.2.3