[Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-21 Thread David Gibson
This patch adds the basic infrastructure necessary to emulate an IOMMU visible to the guest. The DMAContext structure is extended with information and a callback describing the translation, and the various DMA functions used by devices will now perform IOMMU translation using this callback. Cc: M

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-14 Thread David Gibson
On Tue, Mar 13, 2012 at 03:37:09PM +0100, Alexander Graf wrote: > On 13.03.2012, at 15:04, David Gibson wrote: > > On Tue, Mar 13, 2012 at 02:56:47PM +0100, Alexander Graf wrote: > >> On 13.03.2012, at 06:07, David Gibson wrote: [snip] > This need not be a configure option. Just enable it, or

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-13 Thread Alexander Graf
On 13.03.2012, at 15:04, David Gibson wrote: > On Tue, Mar 13, 2012 at 02:56:47PM +0100, Alexander Graf wrote: >> >> On 13.03.2012, at 06:07, David Gibson wrote: >> >>> On Fri, Mar 09, 2012 at 11:23:01AM +0100, Paolo Bonzini wrote: Il 09/03/2012 06:01, David Gibson ha scritto: > This p

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-13 Thread David Gibson
On Tue, Mar 13, 2012 at 02:56:47PM +0100, Alexander Graf wrote: > > On 13.03.2012, at 06:07, David Gibson wrote: > > > On Fri, Mar 09, 2012 at 11:23:01AM +0100, Paolo Bonzini wrote: > >> Il 09/03/2012 06:01, David Gibson ha scritto: > >>> This patch adds the basic infrastructure necessary to emul

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-13 Thread Alexander Graf
On 13.03.2012, at 06:07, David Gibson wrote: > On Fri, Mar 09, 2012 at 11:23:01AM +0100, Paolo Bonzini wrote: >> Il 09/03/2012 06:01, David Gibson ha scritto: >>> This patch adds the basic infrastructure necessary to emulate an IOMMU >>> visible to the guest. The DMAContext structure is extended

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-12 Thread David Gibson
On Fri, Mar 09, 2012 at 11:23:01AM +0100, Paolo Bonzini wrote: > Il 09/03/2012 06:01, David Gibson ha scritto: > > This patch adds the basic infrastructure necessary to emulate an IOMMU > > visible to the guest. The DMAContext structure is extended with > > information and a callback describing th

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-09 Thread Paolo Bonzini
Il 09/03/2012 06:01, David Gibson ha scritto: > This patch adds the basic infrastructure necessary to emulate an IOMMU > visible to the guest. The DMAContext structure is extended with > information and a callback describing the translation, and the various > DMA functions used by devices will now

[Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-08 Thread David Gibson
This patch adds the basic infrastructure necessary to emulate an IOMMU visible to the guest. The DMAContext structure is extended with information and a callback describing the translation, and the various DMA functions used by devices will now perform IOMMU translation using this callback. Cc: M

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-01 Thread David Gibson
On Thu, Mar 01, 2012 at 05:49:20PM +0200, Michael S. Tsirkin wrote: > On Thu, Mar 01, 2012 at 04:36:06PM +1100, David Gibson wrote: > > This patch adds the basic infrastructure necessary to emulate an IOMMU > > visible to the guest. The DMAContext structure is extended with > > information and a c

Re: [Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-03-01 Thread Michael S. Tsirkin
On Thu, Mar 01, 2012 at 04:36:06PM +1100, David Gibson wrote: > This patch adds the basic infrastructure necessary to emulate an IOMMU > visible to the guest. The DMAContext structure is extended with > information and a callback describing the translation, and the various > DMA functions used by

[Qemu-devel] [PATCH 10/13] iommu: Introduce IOMMU emulation infrastructure

2012-02-29 Thread David Gibson
This patch adds the basic infrastructure necessary to emulate an IOMMU visible to the guest. The DMAContext structure is extended with information and a callback describing the translation, and the various DMA functions used by devices will now perform IOMMU translation using this callback. Cc: M