On 16.12.14 11:42, Eric Auger wrote: > This patch series enables machvirt to dynamically instantiate sysbus > devices from command line (using -device option). > > All those sysbus devices are plugged onto a platform bus. This latter > device is instantiated in machvirt and takes care of the binding of > children sysbus devices on a machine init done notifier. The device > tree node generation for children dynamic sysbus device also happens > on a subsequent notifier that must be executed after the above one. > machvirt registers that notifier before the platform bus creation to > make sure notifiers are executed in the right order: dt generation after > actual QOM binding. > > Very few sysbus devices are supposed to be instantiated that > way. VFIO devices belong to them. > > Node creation really is architecture specific. On ARM the dynamic > sysbus device node creation is implemented in a new C module, > hw/arm/sysbus-fdt.c and not in the machine file. > > Machvirt transformations and sysbus-fdt are largely inspired from Alex work. > > The patch series can be found at: > http://git.linaro.org/people/eric.auger/qemu.git > branch official_dynsysbus_v7
Reviewed-by: Alexander Graf <ag...@suse.de> Alex