On Sun, Feb 05, 2017 at 01:12:03AM -0800, b...@skyportsystems.com wrote: > From: Ben Warren <b...@skyportsystems.com> > > This allows pc_i440fx-based machines to add new devices such as > VM Generation ID directly to the sysbus. > > Signed-off-by: Ben Warren <b...@skyportsystems.com>
Only point is, we might have to add more flags like cannot_instantiate_with_device_add_yet to a bunch of devices. Marcel, you did a similar thing for q35, can you take a look here as well pls? > --- > hw/i386/pc_piix.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c > index 9f102aa..c8ad99c 100644 > --- a/hw/i386/pc_piix.c > +++ b/hw/i386/pc_piix.c > @@ -435,6 +435,7 @@ static void pc_i440fx_machine_options(MachineClass *m) > m->hot_add_cpu = pc_hot_add_cpu; > m->default_machine_opts = "firmware=bios-256k.bin"; > m->default_display = "std"; > + m->has_dynamic_sysbus = true; > } > > static void pc_i440fx_2_9_machine_options(MachineClass *m) > -- > 2.7.4