s390x: initialize flic before I/O subsystems
Let's have a flic before we move on to initialize more specific subsystems that make use of it. Signed-off-by: Fei Li <sherrylf@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
5b00bef270
commit
c572d3f313
@ -113,12 +113,13 @@ static void ccw_init(MachineState *machine)
|
|||||||
s390_sclp_init();
|
s390_sclp_init();
|
||||||
s390_memory_init(machine->ram_size);
|
s390_memory_init(machine->ram_size);
|
||||||
|
|
||||||
|
s390_flic_init();
|
||||||
|
|
||||||
/* get a BUS */
|
/* get a BUS */
|
||||||
css_bus = virtual_css_bus_init();
|
css_bus = virtual_css_bus_init();
|
||||||
s390_init_ipl_dev(machine->kernel_filename, machine->kernel_cmdline,
|
s390_init_ipl_dev(machine->kernel_filename, machine->kernel_cmdline,
|
||||||
machine->initrd_filename, "s390-ccw.img",
|
machine->initrd_filename, "s390-ccw.img",
|
||||||
"s390-netboot.img", true);
|
"s390-netboot.img", true);
|
||||||
s390_flic_init();
|
|
||||||
|
|
||||||
dev = qdev_create(NULL, TYPE_S390_PCI_HOST_BRIDGE);
|
dev = qdev_create(NULL, TYPE_S390_PCI_HOST_BRIDGE);
|
||||||
object_property_add_child(qdev_get_machine(), TYPE_S390_PCI_HOST_BRIDGE,
|
object_property_add_child(qdev_get_machine(), TYPE_S390_PCI_HOST_BRIDGE,
|
||||||
|
Loading…
Reference in New Issue
Block a user