aboutsummaryrefslogtreecommitdiff
path: root/include/hw/xen/xen.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-08-17 11:42:29 -0700
committerMichael S. Tsirkin <mst@redhat.com>2015-09-10 11:05:40 +0300
commit91176e310527fac8414c417c093659e42e4564ea (patch)
tree8bb1493544a69064fb16ff4e2122d0aef3ca9f60 /include/hw/xen/xen.h
parent5af2ae2305143f1805a696f9554231e1fc246edc (diff)
pc: Remove redundant arguments from xen_hvm_init()
Remove arguments that can be found in PCMachineState. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/xen/xen.h')
-rw-r--r--include/hw/xen/xen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h
index 4356af4560..e90931a508 100644
--- a/include/hw/xen/xen.h
+++ b/include/hw/xen/xen.h
@@ -10,6 +10,7 @@
#include "hw/irq.h"
#include "qemu-common.h"
+#include "qemu/typedefs.h"
/* xen-machine.c */
enum xen_mode {
@@ -38,8 +39,7 @@ qemu_irq *xen_interrupt_controller_init(void);
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);
+int xen_hvm_init(PCMachineState *pcms, 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);