vringh: fix copy direction of vringh_iov_push_kern()
authorJason Wang <jasowang@redhat.com>
Thu, 24 Oct 2019 03:57:18 +0000 (11:57 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Oct 2019 08:25:04 +0000 (04:25 -0400)
commitb3683dee840274e9997d958b9d82e5de95950f0b
treefbb7bcc9bbe581c12aab4026e53e685458187af3
parent6771596169bf585d8d7218f1dc5eb7c2d2663275
vringh: fix copy direction of vringh_iov_push_kern()

We want to copy from iov to buf, so the direction was wrong.

Note: no real user for the helper, but it will be used by future
features.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vringh.c