[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] steps towards deprecation of old boards and devices
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] steps towards deprecation of old boards and devices |
Date: |
Tue, 20 Sep 2016 13:48:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
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.
Paolo