On 28/05/2015 10:39, Markus Armbruster wrote: > > - pc_basic_device_init(isa_bus, gsi, &rtc_state, &floppy, > > + pc_basic_device_init(isa_bus, gsi, &rtc_state, force_fdctrl, &floppy, > > (pc_machine->vmport != ON_OFF_AUTO_ON), 0xff0104); > > > > /* connect pm stuff to lpc */ > > If we can get from MachineState *machine to its MachineClass,
Sure you can, it's just MACHINE_GET_CLASS(machine). Paolo > we could > use MachineClass member no_floppy, and not need force_fdctrl. Probably > a wash.