Re: [Qemu-devel] [PATCH v3 2/7] sysbus: Make devices spawnable via -device

2014-09-24 Thread Paolo Bonzini
Il 24/09/2014 17:22, Alexander Graf ha scritto: > +static int error_on_sysbus_device(SysBusDevice *sbdev, void *opaque) > +{ > +error_report("Device '%s' can not be handled by this machine", > + qdev_fw_name(DEVICE(sbdev))); > +exit(1); > +} The firmware name is usually som

[Qemu-devel] [PATCH v3 2/7] sysbus: Make devices spawnable via -device

2014-09-24 Thread Alexander Graf
Now that we can properly map sysbus devices that haven't been connected to something forcefully by C code, we can allow the -device command line option to spawn them. For machines that don't implement dynamic sysbus assignment in their board files we add a new bool "has_dynamic_sysbus" to the mach