Received: from eggs.gnu.org ([208.118.235.92]:56626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPUe3-0006GB-Iw for qemu-devel@nongnu.org; Tue, 09 Apr 2013 05:15:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPUe2-0001Ik-Ag for qemu-devel@nongnu.org; Tue, 09 Apr 2013 05:15:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPUe2-0001IV-2k for qemu-devel@nongnu.org; Tue, 09 Apr 2013 05:15:14 -0400 Date: Tue, 9 Apr 2013 11:15:10 +0200 From: Kevin Wolf Message-ID: <20130409091509.GB2922@dhcp-200-207.str.redhat.com> References: <1362491612-19226-1-git-send-email-aliguori@us.ibm.com> <1362491612-19226-2-git-send-email-aliguori@us.ibm.com> <20130313112659.GE2309@dhcp-200-207.str.redhat.com> <87mwu7s8ga.fsf@codemonkey.ws> <20130328114112.GF3077@dhcp-200-207.str.redhat.com> <877gkr0wmj.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877gkr0wmj.fsf@codemonkey.ws> Subject: Re: [Qemu-devel] [RFC PATCH 1/8] qtest: add libqos List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 29.03.2013 um 03:26 hat Anthony Liguori geschrieben: > Kevin Wolf writes: > > > Am 13.03.2013 um 15:03 hat Anthony Liguori geschrieben: > >> You are correct, it should look something like: > >> > >> if (addr & PCI_BASE_ADDRESS_SPACE_IO) { > >> size = (1ULL << ctzl(addr & PCI_BASE_ADDRESS_IO_MASK)); > >> } else { > >> size = (1ULL << ctzl(addr & PCI_BASE_ADDRESS_MEM_MASK)); > >> } > >> > >> This doesn't deal with 64-bit bars though. > >> > >> I'll update in the next round. I think this has worked for me because I > >> have only done single device testing. I did switch from ffz when I > >> rebased but I think ffz would still have this problem. > > > > For when are you planning the next round? > > I'll send one out soon. Perhaps tomorrow if all goes well. I know, it's getting boring, but... which tomorrow? Please just add the license headers and get the RFC committed. We'll get the rest fixed up on top. We've been waiting for over a year now. This is blocking any progress on the qtest coverage and probably already hurting the quality of our releases. Kevin