Re: [Qemu-devel] [PATCH v4 08/18] vfio: Add DMA memory registering

2015-02-17 Thread David Gibson
On Tue, Feb 17, 2015 at 01:14:33PM +1100, Alexey Kardashevskiy wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/02/2015 06:04 PM, David Gibson wrote: > > On Thu, Jan 29, 2015 at 08:27:20PM +1100, Alexey Kardashevskiy > wrote: [snip] > >> +vfio_mem_unregister(container, vaddr,

Re: [Qemu-devel] [PATCH v4 08/18] vfio: Add DMA memory registering [repost]

2015-02-16 Thread Alexey Kardashevskiy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Repost as I think I pressed "crtl-r" and thunberbird killed the formatting :) On 02/02/2015 06:04 PM, David Gibson wrote: > On Thu, Jan 29, 2015 at 08:27:20PM +1100, Alexey Kardashevskiy wrote: >> This makes use of the new "memory registering" featur

Re: [Qemu-devel] [PATCH v4 08/18] vfio: Add DMA memory registering

2015-02-16 Thread Alexey Kardashevskiy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/02/2015 06:04 PM, David Gibson wrote: > On Thu, Jan 29, 2015 at 08:27:20PM +1100, Alexey Kardashevskiy wrote: >> This makes use of the new "memory registering" feature. The idea is >> to provide the guest ability to notify the host kernel about

Re: [Qemu-devel] [PATCH v4 08/18] vfio: Add DMA memory registering

2015-02-01 Thread David Gibson
On Thu, Jan 29, 2015 at 08:27:20PM +1100, Alexey Kardashevskiy wrote: > This makes use of the new "memory registering" feature. The idea is > to provide the guest ability to notify the host kernel about pages which > are going to be used for DMA. Having this information, the host kernel > can pin t

[Qemu-devel] [PATCH v4 08/18] vfio: Add DMA memory registering

2015-01-29 Thread Alexey Kardashevskiy
This makes use of the new "memory registering" feature. The idea is to provide the guest ability to notify the host kernel about pages which are going to be used for DMA. Having this information, the host kernel can pin them all, do locked pages accounting and not spent time on doing that in real t