All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: "QEMU Developers" <qemu-devel@nongnu.org>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>
Subject: Re: [Qemu-devel] qdev properties vs qom object properties
Date: Mon, 5 Jun 2017 15:44:17 +0200	[thread overview]
Message-ID: <ece5004d-f732-5110-79c2-2917e20d048a@redhat.com> (raw)
In-Reply-To: <20170605133650.GM4294@thinpad.lan.raisama.net>



On 05/06/2017 15:36, Eduardo Habkost wrote:
> On Mon, Jun 05, 2017 at 02:10:06PM +0100, Peter Maydell wrote:
>> Why do we have both of these APIs?
> 
> I don't know.  Probably because the QOM property API was
> introduced, it was just a subset of of the features provided by
> qdev properties, so the qdev API had to be kept.

Indeed---especially there were no QOM class properties (and there are
still no default values, which is the other place where we walk the
props array).

Paolo

      reply	other threads:[~2017-06-05 13:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05 13:10 [Qemu-devel] qdev properties vs qom object properties Peter Maydell
2017-06-05 13:32 ` Paolo Bonzini
2017-06-05 13:39   ` Eduardo Habkost
2017-06-06  7:22   ` Markus Armbruster
2017-06-06  8:48     ` Gerd Hoffmann
2017-06-05 13:36 ` Eduardo Habkost
2017-06-05 13:44   ` Paolo Bonzini [this message]

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=ece5004d-f732-5110-79c2-2917e20d048a@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=armbru@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=marcandre.lureau@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.