Re: [Qemu-devel] [PATCH v3 06/16] vhost: use variable arguments for vhost_call()

2015-09-19 Thread Marc-André Lureau
On Wed, Sep 16, 2015 at 4:01 PM, Michael S. Tsirkin wrote: > Let's not do this. > It's probably time to replace vhost_call with an ops struct of functions. > This will solve this in a clean way. done -- Marc-André Lureau

Re: [Qemu-devel] [PATCH v3 06/16] vhost: use variable arguments for vhost_call()

2015-09-16 Thread Michael S. Tsirkin
On Thu, Aug 06, 2015 at 02:40:42PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > It is useful to pass extra arguments to the funtions, for > various backend needs. > > Signed-off-by: Marc-André Lureau Let's not do this. It's probably time to replace vhost_call with an

[Qemu-devel] [PATCH v3 06/16] vhost: use variable arguments for vhost_call()

2015-08-06 Thread marcandre . lureau
From: Marc-André Lureau It is useful to pass extra arguments to the funtions, for various backend needs. Signed-off-by: Marc-André Lureau --- hw/virtio/vhost-backend.c | 4 ++-- hw/virtio/vhost-user.c| 4 ++-- include/hw/virtio/vhost-backend.h | 6 -- 3 files changed, 8