From: Markus Armbruster <armbru@redhat.com>
To: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: "QEMU Developers" <qemu-devel@nongnu.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Andreas Färber" <afaerber@suse.de>,
"Anthony Liguori" <aliguori@amazon.com>,
"Alexander Graf" <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH v2] qdev: Keep global allocation counter per bus
Date: Wed, 05 Feb 2014 09:45:22 +0100 [thread overview]
Message-ID: <87k3dadk2l.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <CAEgOgz4SSg_PVeTtNbLNPhD9ETASEU-75Q+OCnD9SE=_jyn8Xw@mail.gmail.com> (Peter Crosthwaite's message of "Wed, 5 Feb 2014 15:19:24 +1000")
Peter Crosthwaite <peter.crosthwaite@xilinx.com> writes:
> On Tue, Feb 4, 2014 at 7:28 PM, Markus Armbruster <armbru@redhat.com> wrote:
>> Markus Armbruster <armbru@redhat.com> writes:
>>
>>> Peter Crosthwaite <peter.crosthwaite@xilinx.com> writes:
>>>
>>>> On Wed, Jan 8, 2014 at 11:47 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>>>> Il 08/01/2014 14:40, Andreas Färber ha scritto:
>>>>>> > Either you fix "info qtree" to cope with your change to the device
>>>>>> > graph, or the change needs to be reverted until somebody fixes it or it
>>>>>> > goes away.
>>>>>> Sharing a backtrace would be a start, rather than just throwing around
>>>>>> the word "crash" to justify reverting patches. :)
>>>>>
>>>>> I mentioned the root cause in the previous message: a Device cannot be
>>>>> added to main_system_bus, but that's what the patch does. The fix isn't
>>>>> trivial, because most of the affected board are not even qdevified.
>>>>>
>>>>
>>>> So I made progress here with the needed QOMification. Finally I have a
>>>> sane info qtree WRT NAND:
>>>>
>>>> $ arm-softmmu/qemu-system-arm -M spitz -nographic -S
>>>> (qemu) info qtree
>>>> bus: main-system-bus
>>>> type System
>>>> ...
>>>> dev: sl-nand, id ""
>>>> manf_id = 236
>>>> chip_id = 115
>>>> irq 0
>>>> mmio 000000000c000000/0000000000000040
>>>> bus: nand
>>>> type nand-bus
>>>> dev: nand, id ""
>>>> manufacturer_id = 236
>>>> chip_id = 115
>>>> drive = <null>
>>>>
>>>> With just the proposed revert info qtree does work again, but is bogus:
>>>>
>>>> (qemu) info qtree
>>>> bus: main-system-bus
>>>> type System
>>>> ...
>>>> dev: nand, id ""
>>>> manufacturer_id = 236
>>>> chip_id = 115
>>>> drive = <null>
>>>> irq 0
>>>> dev: sl-nand, id ""
>>>> manf_id = 236
>>>> chip_id = 115
>>>> irq 0
>>>> mmio 000000000c000000/0000000000000040
>>>
>>> Progress!
>>>
>>>> Patches sometime next week hopefully.
>>>
>>> I think we can wait that long :)
>>
>> I just ran into the info qtree crash again, and I can't find your fix
>> right now. Got a pointer for me?
>>
>
> Hi Markus,
>
> That series got very big on me with complications. I think near term
> we just proceed with the revert. Sorry for the delay.
>
> For a straight revert of my patch nand s/SYSBUS/DEVICE patch:
>
> Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Done. Thanks!
next prev parent reply other threads:[~2014-02-05 8:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 1:41 [Qemu-devel] [PATCH v2] qdev: Keep global allocation counter per bus Alexander Graf
2013-12-21 10:42 ` Markus Armbruster
2013-12-22 13:43 ` Paolo Bonzini
2014-01-07 15:12 ` Markus Armbruster
2014-01-07 16:59 ` Paolo Bonzini
2014-01-07 17:34 ` Markus Armbruster
2014-01-08 14:04 ` Paolo Bonzini
2014-01-08 14:35 ` Markus Armbruster
2014-01-08 15:18 ` Paolo Bonzini
2014-01-08 16:52 ` Markus Armbruster
2014-01-08 3:07 ` Peter Crosthwaite
2014-01-08 4:24 ` Andreas Färber
2014-01-08 8:00 ` Markus Armbruster
2014-01-08 10:11 ` Peter Maydell
2014-01-08 8:13 ` Markus Armbruster
2014-01-08 8:26 ` Peter Crosthwaite
2014-01-08 13:40 ` Andreas Färber
2014-01-08 13:47 ` Paolo Bonzini
2014-01-10 7:50 ` Peter Crosthwaite
2014-01-10 8:48 ` Markus Armbruster
2014-02-04 9:28 ` Markus Armbruster
2014-02-05 5:19 ` Peter Crosthwaite
2014-02-05 8:45 ` Markus Armbruster [this message]
2014-01-08 11:02 ` Paolo Bonzini
2014-01-08 13:53 ` Andreas Färber
2014-01-08 14:07 ` Paolo Bonzini
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=87k3dadk2l.fsf@blackfin.pond.sub.org \
--to=armbru@redhat.com \
--cc=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=aliguori@amazon.com \
--cc=pbonzini@redhat.com \
--cc=peter.crosthwaite@xilinx.com \
--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.