[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PULL 00/22] ppc patch queue 2011-10-30
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PULL 00/22] ppc patch queue 2011-10-30 |
Date: |
Wed, 2 Nov 2011 11:12:28 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Nov 01, 2011 at 03:28:05PM -0700, Alexander Graf wrote:
>
> On 01.11.2011, at 15:16, Anthony Liguori <address@hidden> wrote:
>
> > On 11/01/2011 05:14 PM, Alexander Graf wrote:
> >>> And specifically:
> >>>
> >>> QLIST_FOREACH(qdev,&phb->host_state.bus->qbus.children, sibling) {
> >>> PCIDevice *dev = (PCIDevice *)qdev;
> >>> if (dev->devfn == devfn) {
> >>> return dev;
> >>> }
> >>> }
> >>>
> >>> QBus::children is a QTAILQ, not a QLIST.
> >>>
> >>> Was this code tested at all?
> >>
> >> Uh, yeah. Compile and execution tested O_o.
> >
> > Do you not have libfdt installed?
>
> I have libfdt installed on all boxes. I also verified that I could
> see a PCI device in the guest, so the code worked.
>
> Maybe the list type was changed between the pullreq and now?
It did. I actually found this one yesterday when I rebased agraf's
series, but didn't get around to sending the fix out.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson