On Tue, 14 Oct 2008, Han, Weidong wrote:

> Zwane Mwaikambo wrote:
> > Hi,
> >     I've been trying to get a Linux guest working with PCI
> passthrough
> > of an ethernet card using the vtd branches. The device detection
> > works and the guest reports a link, however as soon as i try and ping
> > the guest it receives an NMI (i'm guessing this is PCI DMA related).
> > Interrupt delivery to the guest looks fine (count increases at a low
> > rate) and isn't shared with anything else on the host.
> > 
> > Thanks for any hints.
> > 
> >     Zwane
> 
> What do you mean "vtd branches"? Is it the vtd branch of Amit's tree?
> 
> VT-d patches are in kvm.git, as long as you apply amit's userspace patch
> (you can find it on mailing list), you should can assign device to
> guest. Make sure you enable VT-d in BIOS and set CONFIG_DMAR in config,
> and remove device driver before you assign device. NIC and USB
> controller assignment works fine for me.

I'm using the following repositories without any additional patches;

git://git.kernel.org/pub/scm/linux/kernel/git/amit/kvm.git vtd
git://git.kernel.org/pub/scm/linux/kernel/git/amit/kvm-userspace.git vtd

The host kernel only has the e100 network driver enabled, the guest kernel 
only has the e1000 network driver enabled. I have enabled VT-d in the BIOS 
and enabled CONFIG_DMAR in the host kernel config. I'm really beginning to 
suspect the BIOS unfortunately :(

Thanks,
        Zwane
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to