From: "Gábor PÉK" <pek@crysys.hu>
To: xen-devel@lists.xen.org
Subject: direct PIO/MMIO access
Date: Fri, 15 Feb 2013 17:31:55 +0100 [thread overview]
Message-ID: <511E62FB.90804@crysys.hu> (raw)
Hi all,
I would like to access the configuration registers of my passthrough
device from my HVM guest under Xen 4.2 via MMIO/PIO directly. Is there
any option for this in the config file of the guest? I know about the
ioports=[''] option for PIO accesses, but is there any way to do the
same with MMIO BAR registers? As far as I know the permissive flag works
only for PV guests. Does the ioports option allow direct access to
config space (0xcf8-0xcfc)? According to in xen/arch/x86/trap.c it is
not allowed.
/*
* Port 0xcf8 (CONFIG_ADDRESS) is only visible for DWORD accesses.
* We never permit direct access to that register.
*/
What about Dom0?
Thank you!
-gabor
next reply other threads:[~2013-02-15 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 16:31 Gábor PÉK [this message]
2013-02-15 16:51 ` direct PIO/MMIO access Jan Beulich
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=511E62FB.90804@crysys.hu \
--to=pek@crysys.hu \
--cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.