On 20/09/2016 13:04, Markus Armbruster wrote:
> I'm not proposing to get rid of -serial. I'm proposing to use it as
> indicator of old code in need of modernization. A properly QOMified
> serial device should be "configurable with non-legacy means". Devices
> that aren't are probably not QOMified. [...]
> > The Raspberry Pi board is probably one of the best examples. Its only
> > snag is that one of the devices (hw/arm/bcm2835_peripherals.c) uses
> > serial_hds.
> Yes, but it uses it to configure QOMified devices, doesn't it?
> It should be possible to configure these with non-legacy means, at least
> in theory.
The devices are QOMified, but because there is more than one you cannot
hack their configuration with -global.