public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* direct mmio for passthrough - kernel part
@ 2008-04-16 13:25 benami
  2008-04-16 13:25 ` [PATCH 1/1] Enble a guest to access a device's memory mapped I/O regions directly benami
  2008-04-18 16:02 ` direct mmio for passthrough - kernel part Avi Kivity
  0 siblings, 2 replies; 7+ messages in thread
From: benami @ 2008-04-16 13:25 UTC (permalink / raw)
  To: amit.shah; +Cc: kvm-devel, allen.m.kay, andrea, benami


This patch for PCI passthrough devices enables a guest to access a device's
memory mapped I/O regions directly, without requiring the host to trap and
emulate every MMIO access. 

Updated from last version: we create a memory slot for each MMIO region of the
guest's devices, and then use the /sys/bus/pci/.../resource# mapping to find the
hfn for that MMIO region. The kernel part and the userspace part of this
patchset apply to Amit's pv-dma tree.  Tested on a Lenovo M57p with an e1000 NIC
assigned directly to an FC8 guest.

Comments are appreciated. 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-20 10:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-16 13:25 direct mmio for passthrough - kernel part benami
2008-04-16 13:25 ` [PATCH 1/1] Enble a guest to access a device's memory mapped I/O regions directly benami
2008-04-16 13:25   ` benami
2008-04-18 15:50   ` Avi Kivity
2008-04-19 14:35     ` Muli Ben-Yehuda
2008-04-20 10:29       ` Avi Kivity
2008-04-18 16:02 ` direct mmio for passthrough - kernel part Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox