mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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>
This commit is contained in:
parent
5af2ae2305
commit
91176e3105
5 changed files with 17 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue