summaryrefslogtreecommitdiffstats
path: root/xen-all.c
diff options
context:
space:
mode:
authorAvi Kivity2011-12-18 14:48:55 +0100
committerAvi Kivity2011-12-19 16:23:24 +0100
commitfce537d4a741521ac182d54465c568b101b9a71e (patch)
tree5eaa74102ac97de28b109d285c5eef65726d8eb5 /xen-all.c
parentphys_page_find_alloc: Use correct initial region_offset. (diff)
downloadqemu-fce537d4a741521ac182d54465c568b101b9a71e.tar.gz
qemu-fce537d4a741521ac182d54465c568b101b9a71e.tar.xz
qemu-fce537d4a741521ac182d54465c568b101b9a71e.zip
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 <avi@redhat.com>
Diffstat (limited to 'xen-all.c')
-rw-r--r--xen-all.c2
1 files changed, 1 insertions, 1 deletions
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;