[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ehci: save device pointer in EHCIState
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] ehci: save device pointer in EHCIState |
Date: |
Mon, 09 Sep 2013 11:58:33 +0200 |
On Mo, 2013-09-09 at 11:04 +0200, Hans de Goede wrote:
> Hi,
>
> On 09/09/2013 10:20 AM, Gerd Hoffmann wrote:
> > We'll need a pointer to the actual pci/sysbus device,
> > stick a pointer to it into the EHCIState struct.
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1005495
>
> Looks like we've been working on exactly the same bug at the
> same time, but we've come up with slightly different solutions.
Yep, and then "git send-email" exactly the same minute ;)
> If we're going to go this way (which seems the best), you
> should also modify the qemu_sglist_init call in
> ehci_init_transfer for consistency, and drop the bus and qbus
> variable declarations at the top of the functions as those will
> be unused then.
Makes sense indeed. Done, v2 sent.
cheers,
Gerd