[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804291929.18733.amit.shah@qumranet.com>
Date: Tue, 29 Apr 2008 19:29:17 +0530
From: Amit Shah <amit.shah@...ranet.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: kvm-devel@...ts.sourceforge.net, chrisw@...hat.com,
allen.m.kay@...el.com, linux-kernel@...r.kernel.org,
gcosta@...hat.com, avi@...ranet.com,
virtualization@...ts.linux-foundation.org, BENAMI@...ibm.com,
"Muli Ben-Yehuda" <muli@...ibm.com>
Subject: Re: [PATCH] KVM PV Guest: Implement paravirtualized DMA
On Tuesday 29 April 2008 19:01:32 Andi Kleen wrote:
> Amit Shah <amit.shah@...ranet.com> writes:
> > +const struct dma_mapping_ops *orig_dma_ops;
>
> I suspect real dma ops stacking will need some further thought than
> your simple hacks
Yes; that's something we're planning to do.
> Haven't read further, but to be honest the code doesn't seem to be anywhere
> near merging quality.
I'm basically using these patches to test the PCI passthrough functionality
(by which we can assign host PCI devices to a guest OS via KVM). While other
methods of handling DMA operations are being worked on (1-1 mapping of the
guest in the host address space and virtualization-aware IOMMU translations),
this patchset provides a quick way to check if things indeed work.
However, if some version of this patch can be useful upstream, I'll be glad to
work on that. That said, as you point out, we need stackable dma ops as well
as getting rid of the is_pv_device() function in dma_ops and that's something
that can be done right away.
Thanks for the review!
Amit
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists