summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.h
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-05-06 05:15:59 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-05-06 11:57:54 +0200
commit54db63c2ca153ebf0c868cdf79f52ec9e701d38c (patch)
tree463006aa3cbc2f432dc1068d34a176bbd25c236a /drivers/vhost/vhost.h
parentvhost_scsi: module rename (diff)
downloadlinux-54db63c2ca153ebf0c868cdf79f52ec9e701d38c.tar.xz
linux-54db63c2ca153ebf0c868cdf79f52ec9e701d38c.zip
vhost: Export vhost_dev_set_owner
Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.h')
-rw-r--r--drivers/vhost/vhost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index b58f4ae82cb8..cc23bc456d15 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -135,6 +135,7 @@ struct vhost_dev {
};
long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs);
+long vhost_dev_set_owner(struct vhost_dev *dev);
long vhost_dev_check_owner(struct vhost_dev *);
struct vhost_memory *vhost_dev_reset_owner_prepare(void);
void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_memory *);