All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] steps towards deprecation of old boards and devices
Date: Tue, 20 Sep 2016 15:53:56 +0200	[thread overview]
Message-ID: <87oa3in0cr.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <d56004d2-b0d8-c5d9-286f-90265b2055d1@redhat.com> (Paolo Bonzini's message of "Tue, 20 Sep 2016 13:48:02 +0200")

Paolo Bonzini <pbonzini@redhat.com> 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.

  reply	other threads:[~2016-09-20 13:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13 17:09 [Qemu-devel] steps towards deprecation of old boards and devices Peter Maydell
2016-09-20  8:08 ` Markus Armbruster
2016-09-20  8:22   ` Paolo Bonzini
2016-09-20 11:04     ` Markus Armbruster
2016-09-20 11:48       ` Paolo Bonzini
2016-09-20 13:53         ` Markus Armbruster [this message]
2016-09-20 11:44   ` Andreas Färber
2016-09-20 13:50     ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oa3in0cr.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=afaerber@suse.de \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.