aboutsummaryrefslogtreecommitdiff
path: root/xen-all.c
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2011-07-20 08:17:42 +0000
committerAlexander Graf <agraf@suse.de>2011-07-26 06:57:28 +0200
commitf15fbc4bd1a24bd1477a846e63e62c6d435912f8 (patch)
treed4672ffec3af926c85caf440282a095ea9c66623 /xen-all.c
parent59d21e537b6c3a964d4e346e9cf2a1e17267a27c (diff)
cpu-common: Have a ram_addr_t of uint64 with Xen.
In Xen case, memory can be bigger than the host memory. that mean a 32bits host (and QEMU) should be able to handle a RAM address of 64bits. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
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 83c5476764..53296bf2ca 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -184,7 +184,7 @@ void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size)
}
if (xc_domain_populate_physmap_exact(xen_xc, xen_domid, nr_pfn, 0, 0, pfn_list)) {
- hw_error("xen: failed to populate ram at %lx", ram_addr);
+ hw_error("xen: failed to populate ram at " RAM_ADDR_FMT, ram_addr);
}
qemu_free(pfn_list);