All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Alexander Graf" <agraf@suse.de>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Anthony Liguori" <aliguori@amazon.com>,
	"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH v2] qdev: Keep global allocation counter per bus
Date: Fri, 10 Jan 2014 09:48:05 +0100	[thread overview]
Message-ID: <87mwj443zu.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <CAEgOgz6uJ4pku+ub89vm1nmybxPcpusS1ODbz9ic=E_i2g-CmQ@mail.gmail.com> (Peter Crosthwaite's message of "Fri, 10 Jan 2014 17:50:38 +1000")

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 :)

  reply	other threads:[~2014-01-10  8:48 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 [this message]
2014-02-04  9:28                     ` Markus Armbruster
2014-02-05  5:19                       ` Peter Crosthwaite
2014-02-05  8:45                         ` Markus Armbruster
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=87mwj443zu.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.