From: Paolo Bonzini <pbonzini@redhat.com>
To: "Andreas Färber" <afaerber@suse.de>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, armbru@redhat.com, aliguori@amazon.com,
lcapitulino@redhat.com
Subject: Re: [Qemu-devel] [PATCH] scripts: Add qom-tree script as modern equivalent of info qtree
Date: Fri, 07 Feb 2014 15:18:32 +0100 [thread overview]
Message-ID: <52F4EB38.1030808@redhat.com> (raw)
In-Reply-To: <52F4E410.8070700@suse.de>
Il 07/02/2014 14:48, Andreas Färber ha scritto:
>> And let me repeat that
>> *reverting a broken patch should always be one of the alternatives*.
>
> Yes. But it has never been *mandatory* to revert things first before
> fixing them. We usually apply incremental fixes referencing the commit
> hash that broke things.
Ok, so far so good. Though I think remembering people about the
Damocles sword of reverting the patch is fair after 1 month.
> Negative, all the device registration, structs, etc. of qdev apart from
> the actual devices' *State is gone, no longer exists. See Anthony's
> large commits in Git history if you don't believe me. You do know better
> than what you are saying here.
I guess there's a difference in terminology.
You're saying qdev is dead. I'm saying it is now implemented on top of
QOM. All the "meta" stuff in qdev is dead indeed. But the _concepts_
are alive and still being used. Part of it is because no one bothered
to fix that, but part of it is because there was nothing to fix. :)
> I certainly agree that there were a
> number of oversights and bugs the two of us and others have been fixing.
> So you could argue that QOM was applied to fast with insufficient
> testing and thinking-through - but also in this case I will rather fix
> the fallout than reverting QOM. ;)
Sure. At the same time, let's not treat QOM and the QOMified qdev as
crystallized things.
So, Anthony's plan said "no more buses". The question is also, will
Anthony ultimately get rid of buses? I honestly doubt that, and that's
unrelated to the decrease of his involvement in the last few months.
This is what I referred to as "design by prophet". It makes no sense to
judge people's contributors on the basis of a 2-year old plan whose
execution so far encountered more than a few hurdles.
Let people come up with their own design, and let their design and code
speak.
FWIW, qdev also had dynamic properties in the beginning; it was Gerd who
converted them to static. Why shouldn't the same thing happen for QOM,
if the code shows that it is an improvement? Of course, these
hypothetical QOM static properties need not (should not, in all
likelihood) be a copycat imitation of what we have in Device.
> I'm not arguing against that. I have rather been telling you that trying
> to *shoehorn* QOM objects into "info qtree" cannot work well.
>
> The claim has been that info qtree *should* include all devices (nand in
> particular) and that claim I strongly dispute. And I reject you giving
> me instructions for how I should implement "info qtree" for you in your
> opinion.
I didn't say you *should* do that. I said it's *possible* to do that.
Is it good or bad? Honestly, I cannot say because there are so few
busless devices that the current "info qtree" is pretty good as it
already is. I don't care enough, for now. Later, perhaps, I will.
> I intend to post patches offering new, alternative displays of the
> composition tree (info qom-composition) since apparently there is a new
> demand for HMP
Yes, that's useful!
I'm snipping the rest of the email because right now I cannot put enough
thought into it.
Paolo
next prev parent reply other threads:[~2014-02-07 14:18 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 17:35 [Qemu-devel] [PATCH] scripts: Add qom-tree script as modern equivalent of info qtree Andreas Färber
2014-02-05 17:48 ` Paolo Bonzini
2014-02-05 17:51 ` Andreas Färber
2014-02-05 17:55 ` Paolo Bonzini
2014-02-05 18:01 ` Andreas Färber
2014-02-07 7:13 ` Paolo Bonzini
2014-02-07 11:09 ` Andreas Färber
2014-02-07 11:21 ` Paolo Bonzini
2014-02-07 12:44 ` Andreas Färber
2014-02-07 13:06 ` Paolo Bonzini
2014-02-07 13:48 ` Andreas Färber
2014-02-07 14:18 ` Paolo Bonzini [this message]
2014-02-07 15:00 ` Markus Armbruster
2014-02-07 12:49 ` Andreas Färber
2014-02-07 13:16 ` Paolo Bonzini
2014-02-05 17:56 ` Andreas Färber
2014-02-05 17:58 ` Paolo Bonzini
2014-02-05 18:08 ` Andreas Färber
2014-02-07 10:41 ` Paolo Bonzini
2014-02-07 11:00 ` Andreas Färber
2014-02-07 11:10 ` Paolo Bonzini
2014-02-05 18:24 ` Eric Blake
2014-02-05 18:39 ` Andreas Färber
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=52F4EB38.1030808@redhat.com \
--to=pbonzini@redhat.com \
--cc=afaerber@suse.de \
--cc=aliguori@amazon.com \
--cc=armbru@redhat.com \
--cc=lcapitulino@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.