summaryrefslogtreecommitdiff
path: root/xen-stub.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-12-18 15:48:55 +0200
committerAvi Kivity <avi@redhat.com>2011-12-19 17:23:24 +0200
commitfce537d4a741521ac182d54465c568b101b9a71e (patch)
tree5eaa74102ac97de28b109d285c5eef65726d8eb5 /xen-stub.c
parent5ab97b7f81dccccee03a3f1d03a4d09a27f0eeff (diff)
downloadqemu-fce537d4a741521ac182d54465c568b101b9a71e.tar.gz
qemu-fce537d4a741521ac182d54465c568b101b9a71e.tar.bz2
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-stub.c')
-rw-r--r--xen-stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen-stub.c b/xen-stub.c
index efe2ab55f2..5fa400faae 100644
--- a/xen-stub.c
+++ b/xen-stub.c
@@ -8,6 +8,7 @@
#include "qemu-common.h"
#include "hw/xen.h"
+#include "memory.h"
void xenstore_store_pv_console_info(int i, CharDriverState *chr)
{
@@ -30,7 +31,7 @@ void xen_cmos_set_s3_resume(void *opaque, int irq, int level)
{
}
-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)
{
}