Commit 54db63c2 authored by Asias He's avatar Asias He Committed by Michael S. Tsirkin

vhost: Export vhost_dev_set_owner

Signed-off-by: default avatarAsias He <>
Signed-off-by: default avatarMichael S. Tsirkin <>
parent 181c04a3
......@@ -344,7 +344,7 @@ static int vhost_attach_cgroups(struct vhost_dev *dev)
/* Caller should have device mutex */
static long vhost_dev_set_owner(struct vhost_dev *dev)
long vhost_dev_set_owner(struct vhost_dev *dev)
struct task_struct *worker;
int err;
......@@ -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 *);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment