X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fvhost%2Fvhost.h;h=b58f4ae82cb8e1e912f83c88eeec1e82eb950d5d;hb=150b9e51ae975ca1fe468c565870fbc4a96e0574;hp=1627eec0ca25400d34e0c0f8a40e77a2f2a9a74c;hpb=061b16cfe3dc7a106dd29b76f6355d84464d126c;p=~andy%2Flinux diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 1627eec0ca2..b58f4ae82cb 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@ -136,7 +136,8 @@ struct vhost_dev { long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs); long vhost_dev_check_owner(struct vhost_dev *); -long vhost_dev_reset_owner(struct vhost_dev *); +struct vhost_memory *vhost_dev_reset_owner_prepare(void); +void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_memory *); void vhost_dev_cleanup(struct vhost_dev *, bool locked); void vhost_dev_stop(struct vhost_dev *); long vhost_dev_ioctl(struct vhost_dev *, unsigned int ioctl, void __user *argp);