aboutsummaryrefslogtreecommitdiff
path: root/xen-hvm-stub.c
diff options
context:
space:
mode:
authorDon Slutz <dslutz@verizon.com>2014-06-19 21:40:24 -0400
committerMichael S. Tsirkin <mst@redhat.com>2014-06-23 17:50:04 +0300
commit3c2a96699e9fc09b5712dacfe200cdaaff0bb55c (patch)
treedcc1588185a07439d9ec862bb25d92744d1599d6 /xen-hvm-stub.c
parent20de98aff5471f4c849f456d2f9716c748a1c05c (diff)
downloadqemu-3c2a96699e9fc09b5712dacfe200cdaaff0bb55c.zip
qemu-3c2a96699e9fc09b5712dacfe200cdaaff0bb55c.tar.gz
qemu-3c2a96699e9fc09b5712dacfe200cdaaff0bb55c.tar.bz2
xen-hvm: Fix xen_hvm_init() to adjust pc memory layout
This is just below_4g_mem_size and above_4g_mem_size which is used later in QEMU. Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Don Slutz <dslutz@verizon.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'xen-hvm-stub.c')
-rw-r--r--xen-hvm-stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen-hvm-stub.c b/xen-hvm-stub.c
index 4eb27b5..2d98696 100644
--- a/xen-hvm-stub.c
+++ b/xen-hvm-stub.c
@@ -51,7 +51,8 @@ void xen_modified_memory(ram_addr_t start, ram_addr_t length)
{
}
-int xen_hvm_init(MemoryRegion **ram_memory)
+int xen_hvm_init(ram_addr_t *below_4g_mem_size, ram_addr_t *above_4g_mem_size,
+ MemoryRegion **ram_memory)
{
return 0;
}