Kvm device passthrough

2010-05-19 Thread Mu Lin
Hi, Folks: Could you provide pointer to the kvm device passthrough howto/FAQ? I have two questions: 1. my host os, the Linux doesn't have the native device driver for some home grown pci devices, the driver is in the guest os, does device passthrough work in this case? Assuming I have

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-15 Thread Joerg Roedel
On Wed, Dec 10, 2008 at 06:48:23PM +, David Woodhouse wrote: > On Wed, 2008-12-10 at 19:42 +0100, Joerg Roedel wrote: > > Ok, I add it, thanks. Who is the author, Mike or you? > > Might as well attribute it to Mike; he spotted it. Ok, here is what I applied, fyi. -- | A

RE: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread Han, Weidong
Joerg Roedel wrote: > On Wed, Dec 10, 2008 at 02:22:08PM +, David Woodhouse wrote: >> On Wed, 2008-12-10 at 15:11 +0100, Joerg Roedel wrote: >>> So now its open how this will be merged alltogether. We can merge >>> it in three steps (first from Dave's tree, then Avi and at last my >>> IOMMU upd

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread David Woodhouse
On Wed, 2008-12-10 at 19:42 +0100, Joerg Roedel wrote: > Ok, I add it, thanks. Who is the author, Mike or you? Might as well attribute it to Mike; he spotted it. -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordo

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread Joerg Roedel
On Wed, Dec 10, 2008 at 06:24:35PM +, David Woodhouse wrote: > On Wed, 2008-12-10 at 15:25 +0100, Joerg Roedel wrote: > > I already did it on-top of your tree because Han Weidong's patches 1-17 > > were rebased to your tree and my IOMMU-API patches apply on-top of his > > patches. > > OK, than

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread David Woodhouse
On Wed, 2008-12-10 at 15:25 +0100, Joerg Roedel wrote: > I already did it on-top of your tree because Han Weidong's patches 1-17 > were rebased to your tree and my IOMMU-API patches apply on-top of his > patches. OK, thanks. Looks like you still need this though, as Mike Day pointed out: diff --g

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread Joerg Roedel
On Wed, Dec 10, 2008 at 02:22:08PM +, David Woodhouse wrote: > On Wed, 2008-12-10 at 15:11 +0100, Joerg Roedel wrote: > > So now its open how this will be merged alltogether. We can merge it in > > three steps (first from Dave's tree, then Avi and at last my IOMMU > > updates which has to happe

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread Avi Kivity
Joerg Roedel wrote: So now its open how this will be merged alltogether. We can merge it in three steps (first from Dave's tree, then Avi and at last my IOMMU updates which has to happen in that order). The other option is to merge this all with one pull-request I send to Linus. It should not con

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread David Woodhouse
On Wed, 2008-12-10 at 15:11 +0100, Joerg Roedel wrote: > So now its open how this will be merged alltogether. We can merge it in > three steps (first from Dave's tree, then Avi and at last my IOMMU > updates which has to happen in that order). > The other option is to merge this all with one pull-r

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread Joerg Roedel
On Wed, Dec 10, 2008 at 11:36:16AM +0200, Avi Kivity wrote: > Joerg Roedel wrote: > >Hi, > > > >the two patchsets posted as reply to this email implement KVM device > >passthrough support for AMD IOMMU hardware. The changes to the previous > >posts are descibed b

Re: [PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-10 Thread Avi Kivity
Joerg Roedel wrote: Hi, the two patchsets posted as reply to this email implement KVM device passthrough support for AMD IOMMU hardware. The changes to the previous posts are descibed below The first patchset is version 4 of the generic iommu api patchset which generalizes the VT-d functions

[PATCHSETS #2] KVM device passthrough support with AMD IOMMU

2008-12-09 Thread Joerg Roedel
Hi, the two patchsets posted as reply to this email implement KVM device passthrough support for AMD IOMMU hardware. The changes to the previous posts are descibed below The first patchset is version 4 of the generic iommu api patchset which generalizes the VT-d functions exported to KVM into a

Re: [PATCHSETS] KVM device passthrough support with AMD IOMMU

2008-12-08 Thread Joerg Roedel
On Thu, Dec 04, 2008 at 06:21:42PM +0100, Joerg Roedel wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu.git > kvm-amd-iommu > FYI, I just updated the branch above. I added a cleanup function which removes the devices from a protection domain before it is released. J

[PATCHSETS] KVM device passthrough support with AMD IOMMU

2008-12-04 Thread Joerg Roedel
Hi, the two patchsets posted as reply to this email implement KVM device passthrough support for AMD IOMMU hardware. The first patchset is version 3 of the generic iommu api patchset which generalizes the VT-d functions exported to KVM into a common api where the AMD IOMMU code can plug into