Re: [Qemu-devel] [PATCH v5 04/11] dataplane: add virtqueue vring code

2012-12-07 Thread Stefan Hajnoczi
On Fri, Dec 7, 2012 at 3:07 PM, Kevin Wolf wrote: > Am 05.12.2012 21:47, schrieb Stefan Hajnoczi: >> The virtio-blk-data-plane cannot access memory using the usual QEMU >> functions since it executes outside the global mutex and the memory APIs >> are this time are not thread-safe. >> >> This patc

Re: [Qemu-devel] [PATCH v5 04/11] dataplane: add virtqueue vring code

2012-12-07 Thread Kevin Wolf
Am 05.12.2012 21:47, schrieb Stefan Hajnoczi: > The virtio-blk-data-plane cannot access memory using the usual QEMU > functions since it executes outside the global mutex and the memory APIs > are this time are not thread-safe. > > This patch introduces a virtqueue module based on the kernel's vho

Re: [Qemu-devel] [PATCH v5 04/11] dataplane: add virtqueue vring code

2012-12-06 Thread Stefan Hajnoczi
On Thu, Dec 06, 2012 at 01:22:29PM +0200, Michael S. Tsirkin wrote: > On Wed, Dec 05, 2012 at 09:47:03PM +0100, Stefan Hajnoczi wrote: > > The virtio-blk-data-plane cannot access memory using the usual QEMU > > functions since it executes outside the global mutex and the memory APIs > > are this ti

Re: [Qemu-devel] [PATCH v5 04/11] dataplane: add virtqueue vring code

2012-12-06 Thread Michael S. Tsirkin
On Wed, Dec 05, 2012 at 09:47:03PM +0100, Stefan Hajnoczi wrote: > The virtio-blk-data-plane cannot access memory using the usual QEMU > functions since it executes outside the global mutex and the memory APIs > are this time are not thread-safe. > > This patch introduces a virtqueue module based

[Qemu-devel] [PATCH v5 04/11] dataplane: add virtqueue vring code

2012-12-05 Thread Stefan Hajnoczi
The virtio-blk-data-plane cannot access memory using the usual QEMU functions since it executes outside the global mutex and the memory APIs are this time are not thread-safe. This patch introduces a virtqueue module based on the kernel's vhost vring code. The trick is that we map guest memory ah