diff options
author | Don Slutz <dslutz@verizon.com> | 2014-06-19 21:40:24 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-23 17:50:04 +0300 |
commit | 3c2a96699e9fc09b5712dacfe200cdaaff0bb55c (patch) | |
tree | dcc1588185a07439d9ec862bb25d92744d1599d6 /include/hw/xen | |
parent | 20de98aff5471f4c849f456d2f9716c748a1c05c (diff) | |
download | qemu-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 'include/hw/xen')
-rw-r--r-- | include/hw/xen/xen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h index 85fda3d..f71f2d8 100644 --- a/include/hw/xen/xen.h +++ b/include/hw/xen/xen.h @@ -37,10 +37,11 @@ void xen_cmos_set_s3_resume(void *opaque, int irq, int level); qemu_irq *xen_interrupt_controller_init(void); int xen_init(MachineClass *mc); -int xen_hvm_init(MemoryRegion **ram_memory); void xenstore_store_pv_console_info(int i, struct CharDriverState *chr); #if defined(NEED_CPU_H) && !defined(CONFIG_USER_ONLY) +int xen_hvm_init(ram_addr_t *below_4g_mem_size, ram_addr_t *above_4g_mem_size, + MemoryRegion **ram_memory); void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, struct MemoryRegion *mr); void xen_modified_memory(ram_addr_t start, ram_addr_t length); |