[Qemu-devel] Re: [PATCHv4 09/12] vhost: vhost net support

2010-03-16 Thread Amit Shah
On (Tue) Mar 16 2010 [17:37:39], Michael S. Tsirkin wrote: > On Mon, Mar 08, 2010 at 11:50:23AM +0530, Amit Shah wrote: > > On (Sat) Mar 06 2010 [21:06:35], Michael S. Tsirkin wrote: > > > > > > > > +r = vhost_virtqueue_set_addr(dev, vq, idx, dev->log_enabled); > > > > > +if (r < 0) { > >

[Qemu-devel] Re: [PATCHv4 09/12] vhost: vhost net support

2010-03-16 Thread Michael S. Tsirkin
On Mon, Mar 08, 2010 at 11:50:23AM +0530, Amit Shah wrote: > On (Sat) Mar 06 2010 [21:06:35], Michael S. Tsirkin wrote: > > > > > > +r = vhost_virtqueue_set_addr(dev, vq, idx, dev->log_enabled); > > > > +if (r < 0) { > > > > +r = -errno; > > > > +goto fail_alloc; > > > > +

[Qemu-devel] Re: [PATCHv4 09/12] vhost: vhost net support

2010-03-07 Thread Amit Shah
On (Sat) Mar 06 2010 [21:06:35], Michael S. Tsirkin wrote: > > > > +r = vhost_virtqueue_set_addr(dev, vq, idx, dev->log_enabled); > > > +if (r < 0) { > > > +r = -errno; > > > +goto fail_alloc; > > > +} > > > +if (!vdev->binding->guest_notifier || !vdev->binding->hos

[Qemu-devel] Re: [PATCHv4 09/12] vhost: vhost net support

2010-03-06 Thread Michael S. Tsirkin
On Fri, Mar 05, 2010 at 11:49:11PM +0530, Amit Shah wrote: > On (Wed) Mar 03 2010 [19:16:35], Michael S. Tsirkin wrote: > > > +static int vhost_virtqueue_init(struct vhost_dev *dev, > > +struct VirtIODevice *vdev, > > +struct vhost_vi

[Qemu-devel] Re: [PATCHv4 09/12] vhost: vhost net support

2010-03-05 Thread Amit Shah
On (Wed) Mar 03 2010 [19:16:35], Michael S. Tsirkin wrote: > +static int vhost_virtqueue_init(struct vhost_dev *dev, > +struct VirtIODevice *vdev, > +struct vhost_virtqueue *vq, > +unsigned idx) > +{ >