Re: [Qemu-devel] [PATCH 2/5] Add vhost-kernel and the vhost-user skeleton

2013-12-04 Thread Antonios Motakis
On Wed, Dec 4, 2013 at 2:47 PM, Stefan Hajnoczi wrote: > On Fri, Nov 29, 2013 at 08:52:23PM +0100, Antonios Motakis wrote: > > diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c > > index 05de174..80defe4 100644 > > --- a/hw/virtio/vhost-backend.c > > +++ b/hw/virtio/vhost-backend

Re: [Qemu-devel] [PATCH 2/5] Add vhost-kernel and the vhost-user skeleton

2013-12-04 Thread Stefan Hajnoczi
On Fri, Nov 29, 2013 at 08:52:23PM +0100, Antonios Motakis wrote: > diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c > index 05de174..80defe4 100644 > --- a/hw/virtio/vhost-backend.c > +++ b/hw/virtio/vhost-backend.c > @@ -25,9 +25,18 @@ static int vhost_kernel_call(struct vhost_d

[Qemu-devel] [PATCH 2/5] Add vhost-kernel and the vhost-user skeleton

2013-11-29 Thread Antonios Motakis
Introduce the backend type - vhost-kernel and vhost-user. Add basic ioctl, open, close multiplexing depending on selected backend. Signed-off-by: Antonios Motakis Signed-off-by: Nikolay Nikolaev --- hw/net/vhost_net.c| 3 +-- hw/scsi/vhost-scsi.c | 4 ++-- hw/virt