Re: [Qemu-devel] [PATCH v2 6/9] vhost: use variable arguments for vhost_call()

2015-08-03 Thread Marc-André Lureau
Hi On Sat, Aug 1, 2015 at 4:47 AM, wrote: >> diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c >> index 4d68a27..7255089 100644 >> --- a/hw/virtio/vhost-backend.c >> +++ b/hw/virtio/vhost-backend.c >> @@ -14,8 +14,8 @@ >> >> #include >> >> -static int vhost_kernel_call(struct

Re: [Qemu-devel] [PATCH v2 6/9] vhost: use variable arguments for vhost_call()

2015-07-31 Thread l
Marc-André Lureau writes: Hi André, > 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 |

[Qemu-devel] [PATCH v2 6/9] vhost: use variable arguments for vhost_call()

2015-07-28 Thread 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 insertions(+), 6 deletion