From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmLUq-0006t1-KJ for qemu-devel@nongnu.org; Tue, 20 Sep 2016 09:54:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmLUl-0007Wx-OL for qemu-devel@nongnu.org; Tue, 20 Sep 2016 09:54:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmLUl-0007WT-I6 for qemu-devel@nongnu.org; Tue, 20 Sep 2016 09:53:59 -0400 From: Markus Armbruster References: <87k2e7uh6m.fsf@dusky.pond.sub.org> <19c09a81-7c1f-0757-55d7-97a483d35cbd@redhat.com> <87lgymsugw.fsf@dusky.pond.sub.org> Date: Tue, 20 Sep 2016 15:53:56 +0200 In-Reply-To: (Paolo Bonzini's message of "Tue, 20 Sep 2016 13:48:02 +0200") Message-ID: <87oa3in0cr.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] steps towards deprecation of old boards and devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , QEMU Developers , Andreas =?utf-8?Q?F=C3=A4rber?= Paolo Bonzini writes: > 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. Yes. It's a pity, and not trivial to fix. See also Andreas's reply. So let me rephrase: following the -serial etc. clues will lead us to some modern devices and some that need work. I believe it's a promising way to find devices that need work.