qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Màrius Montón" <marius.monton@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PCI address question
Date: Wed, 21 Oct 2009 11:51:28 +0200	[thread overview]
Message-ID: <4ADED9A0.3000605@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

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

[-- Attachment #2: marius_monton.vcf --]
[-- Type: text/x-vcard, Size: 200 bytes --]

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


             reply	other threads:[~2009-10-21  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21  9:51 Màrius Montón [this message]
2009-10-27 15:05 ` [Qemu-devel] Re: PCI address question Màrius Montón
2009-10-27 15:16   ` Lennart Sorensen
2009-10-29 11:30     ` Màrius Montón
2009-10-29 12:12       ` [Qemu-devel] " Michael S. Tsirkin
2009-10-29 13:05         ` [Qemu-devel] " Màrius Montón

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ADED9A0.3000605@gmail.com \
    --to=marius.monton@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).