Received: from eggs.gnu.org ([208.118.235.92]:43890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULBCn-0001I1-61 for qemu-devel@nongnu.org; Thu, 28 Mar 2013 07:41:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULBCl-0007Cz-PQ for qemu-devel@nongnu.org; Thu, 28 Mar 2013 07:41:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULBCl-0007Cu-Ht for qemu-devel@nongnu.org; Thu, 28 Mar 2013 07:41:15 -0400 Date: Thu, 28 Mar 2013 12:41:12 +0100 From: Kevin Wolf Message-ID: <20130328114112.GF3077@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87mwu7s8ga.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 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? Will we get this in time to make use of it in 1.5? Kevin