Re: [PATCH v2 16/18] vhost: don't bother with copying iovec in handle_tx()

2015-02-03 Thread Michael S. Tsirkin
On Mon, Feb 02, 2015 at 07:59:35AM +, Al Viro wrote: > From: Al Viro > > just advance the msg.msg_iter and be done with that. > > Cc: Michael S. Tsirkin > Cc: kvm@vger.kernel.org > Signed-off-by: Al Viro Nice. Acked-by: Michael S. Tsirkin But, can you pls copy virtualizat...@lists.linu

[PATCH v2 16/18] vhost: don't bother with copying iovec in handle_tx()

2015-02-02 Thread Al Viro
From: Al Viro just advance the msg.msg_iter and be done with that. Cc: Michael S. Tsirkin Cc: kvm@vger.kernel.org Signed-off-by: Al Viro --- drivers/vhost/net.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 6906f76