]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
vhost: introduce helpers to get the size of metadata area
authorJason Wang <jasowang@redhat.com>
Fri, 24 May 2019 08:12:16 +0000 (04:12 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Jun 2019 20:23:53 +0000 (16:23 -0400)
commit4942e8254d93b31ea14cf63a9dfd10a8112caafa
tree6bcaf63cd3e5e38f748c26012f76f1b75384ff4e
parent9b5e830b7120847da6c636af2d101f8380e73fa0
vhost: introduce helpers to get the size of metadata area

To avoid code duplication since it will be used by kernel VA prefetching.

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