On Tue, Dec 15, 2009 at 07:24:47PM +0100, Alexander Graf wrote: > Michael S. Tsirkin wrote: > > > I guess this means you'll have to find a device with a sub-page > > BAR to test this on, instead of hacking driver for a device with > > full page BAR. Did anyone ever try doing passthrough on an > > emulated device in nested virt? > > We don't emulate an IOMMU, so no. We have in-house patches to emulate VT-d, which work sufficiently well to run unmodified Linux drivers for QEMU's emulation of e1000 and LSI adapter, using unmodified Linux VT-d DMA-mapping code. The patches need some lovin', but they'll be coming eventually. Cheers, Muli -- Muli Ben-Yehuda | muli@xxxxxxxxxx | +972-4-8281080 Manager, Virtualization and Systems Architecture Master Inventor, IBM Research -- Haifa Second Workshop on I/O Virtualization (WIOV '10): http://sysrun.haifa.il.ibm.com/hrl/wiov2010/ -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html