From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2ncA-00021b-6L for qemu-devel@nongnu.org; Tue, 27 Oct 2009 11:05:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2nc5-000211-2B for qemu-devel@nongnu.org; Tue, 27 Oct 2009 11:05:37 -0400 Received: from [199.232.76.173] (port=34313 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2nc4-00020y-Uc for qemu-devel@nongnu.org; Tue, 27 Oct 2009 11:05:32 -0400 Received: from mail-yx0-f188.google.com ([209.85.210.188]:55875) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2nc4-0004JY-Fb for qemu-devel@nongnu.org; Tue, 27 Oct 2009 11:05:32 -0400 Received: by yxe26 with SMTP id 26so209130yxe.4 for ; Tue, 27 Oct 2009 08:05:30 -0700 (PDT) Message-ID: <4AE70C35.6050909@gmail.com> Date: Tue, 27 Oct 2009 16:05:25 +0100 From: =?ISO-8859-1?Q?M=E0rius_Mont=F3n?= MIME-Version: 1.0 References: <4ADED9A0.3000605@gmail.com> In-Reply-To: <4ADED9A0.3000605@gmail.com> Content-Type: multipart/mixed; boundary="------------040001020908040506010204" Subject: [Qemu-devel] Re: PCI address question List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------040001020908040506010204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Màrius Montón wrote: > Hello, > > For my PCI device to QEMU, I need the real address the PCI bus is using > to access my device. For a IO BAR (PCI_ADDRESS_SPACE_IO), I receive the > real address (like 0xc200 or similar), but when registering a > PCI_ADDRESS_SPACE_MEM I only receive the offset to the BAR. > > How I can receive or obtaint the real address on each access to my device? > > Cjeers, > > Màrius > nobody can tell me anything? :( Marius --------------040001020908040506010204 Content-Type: text/x-vcard; charset=utf-8; name="marius_monton.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="marius_monton.vcf" begin:vcard fn;quoted-printable:M=C3=A0rius Mont=C3=B3n n;quoted-printable;quoted-printable:Mont=C3=B3n;M=C3=A0rius email;internet:marius.monton@gmail.com tel;cell:+34617738203 version:2.1 end:vcard --------------040001020908040506010204--