From: "Gábor PÉK" <pek@crysys.hu>
To: kvm@vger.kernel.org
Subject: PIO/MMIO access from guest
Date: Fri, 15 Feb 2013 18:10:00 +0100 [thread overview]
Message-ID: <511E6BE8.6080904@crysys.hu> (raw)
Hi all,
I would like to access the configuration registers of my passthrough
device from an unmodified guest under KVM via MMIO/PIO directly. Is
there any option to configure the guest in this way? I know that you can
do this with the ioports=[''] option in case of Xen, but I could not
find any such option until now for KVM. I also read that
[+] PIO can be passed directly via VMCS I/O bitmaps
[+] MMIO can be passed directly via mapping device BARs to guest
[+] Some PIO/MMIO accesses must be trapped (PCI config space)
Can I do this with some configurations without recompiling the kernel?
Thank you!
-gabor
reply other threads:[~2013-02-15 17:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=511E6BE8.6080904@crysys.hu \
--to=pek@crysys.hu \
--cc=kvm@vger.kernel.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