Hi,

When specifying ide devices using -device, the cmos information
which the bios depends on is not written. This patch generalizes
the cmos hd data setting for the existing code path and adds the
ability to call that code on a per machine, per ide drive basis.

Hmm.

With -device and thus alot of device setup happening after QEMUMachine->init() I think it would be very useful to have QEMUMachine->init_late(). There are a bunch of machine specific jobs which need to be done after all devices have been plugged into the machine.

Setting up cmos is one of them.

i440fx_init_memory_mappings() could be moved there, which would allow to add vga cards via -device.

And I'm pretty sure there are more use cases.  fw_cfg maybe?

Comments?

cheers,
  Gerd


Reply via email to