[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: |
Alexander Graf |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PULL 00/22] ppc patch queue 2011-10-30 |
Date: |
Tue, 1 Nov 2011 15:28:05 -0700 |
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?
Alex
>
> Regards,
>
> Anthony Liguori
>
>>
>> Alex
>>
>>
>