Re: [PATCH] KVM PV Guest: Implement paravirtualized DMA

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: <kvm-devel@...>, <chrisw@...>, <allen.m.kay@...>, <linux-kernel@...>, <gcosta@...>, <avi@...>, <virtualization@...>, <BENAMI@...>, Muli Ben-Yehuda <muli@...>
Date: Tuesday, April 29, 2008 - 9:59 am

On Tuesday 29 April 2008 19:01:32 Andi Kleen wrote:


Yes; that's something we're planning to do.


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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PV DMA for PCI passthrough devices for KVM, Amit Shah, (Tue Apr 29, 6:37 am)
Re: PV DMA for PCI passthrough devices for KVM, Andi Kleen, (Tue Apr 29, 9:15 am)
[PATCH] KVM PV Guest: Implement paravirtualized DMA, Amit Shah, (Tue Apr 29, 6:37 am)
Re: [PATCH] KVM PV Guest: Implement paravirtualized DMA, Amit Shah, (Tue Apr 29, 9:59 am)