aboutsummaryrefslogtreecommitdiff
path: root/hw/i386
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2013-09-09 16:15:52 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-09-09 16:22:19 +0000
commit04d7bad8a4fb23e6d9af9d06ce3ddc28a251d94d (patch)
tree0c56e3066669e4ca8e85f22e9c8e74b50e68cefa /hw/i386
parentdf7131623daf4823e087eb1128f6c1c351519774 (diff)
pc: Initializing ram_memory under Xen.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> CC: qemu-stable@nongnu.org
Diffstat (limited to 'hw/i386')
-rw-r--r--hw/i386/pc_piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 275e39595d..5bb493724b 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -89,7 +89,7 @@ static void pc_init1(QEMUMachineInitArgs *args,
FWCfgState *fw_cfg = NULL;
PcGuestInfo *guest_info;
- if (xen_enabled() && xen_hvm_init() != 0) {
+ if (xen_enabled() && xen_hvm_init(&ram_memory) != 0) {
fprintf(stderr, "xen hardware virtual machine initialisation failed\n");
exit(1);
}