From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIyF1-0005bg-Ey for qemu-devel@nongnu.org; Mon, 09 Sep 2013 05:58:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIyEu-0001iR-SM for qemu-devel@nongnu.org; Mon, 09 Sep 2013 05:58:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIyEu-0001iN-LN for qemu-devel@nongnu.org; Mon, 09 Sep 2013 05:58:36 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r899wZ4V015609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 9 Sep 2013 05:58:36 -0400 Message-ID: <1378720713.5646.0.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Mon, 09 Sep 2013 11:58:33 +0200 In-Reply-To: <522D8F02.6030002@redhat.com> References: <1378714842-31912-1-git-send-email-kraxel@redhat.com> <522D8F02.6030002@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ehci: save device pointer in EHCIState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans de Goede Cc: qemu-devel@nongnu.org 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