aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/pc_piix.c
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 /hw/i386/pc_piix.c
parent5af2ae2305143f1805a696f9554231e1fc246edc (diff)
downloadqemu-91176e310527fac8414c417c093659e42e4564ea.zip
qemu-91176e310527fac8414c417c093659e42e4564ea.tar.gz
qemu-91176e310527fac8414c417c093659e42e4564ea.tar.bz2
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 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index b82921d..117f8dc 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -134,9 +134,7 @@ static void pc_init1(MachineState *machine)
pcms->below_4g_mem_size = machine->ram_size;
}
- if (xen_enabled() && xen_hvm_init(&pcms->below_4g_mem_size,
- &pcms->above_4g_mem_size,
- &ram_memory) != 0) {
+ if (xen_enabled() && xen_hvm_init(pcms, &ram_memory) != 0) {
fprintf(stderr, "xen hardware virtual machine initialisation failed\n");
exit(1);
}