mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
pc: Remove redundant arguments from *load_linux()
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
b9cfc918dd
commit
df1f79fdbb
3 changed files with 14 additions and 25 deletions
|
@ -183,11 +183,7 @@ static void pc_init1(MachineState *machine)
|
|||
rom_memory, &ram_memory, guest_info);
|
||||
} else if (machine->kernel_filename != NULL) {
|
||||
/* For xen HVM direct kernel boot, load linux here */
|
||||
xen_load_linux(machine->kernel_filename,
|
||||
machine->kernel_cmdline,
|
||||
machine->initrd_filename,
|
||||
pcms->below_4g_mem_size,
|
||||
guest_info);
|
||||
xen_load_linux(pcms, guest_info);
|
||||
}
|
||||
|
||||
gsi_state = g_malloc0(sizeof(*gsi_state));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue