mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
vhost: rename RESET_DEVICE backto RESET_OWNER
This patch basically reverts commit d1f8b30e
.
It turned out that it breaks stuff, so revert it:
http://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg00949.html
CC: "Michael S. Tsirkin" <mst@redhat.com>
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
2b8819c6ee
commit
60915dc469
6 changed files with 12 additions and 12 deletions
|
@ -156,7 +156,7 @@ static int vhost_kernel_set_owner(struct vhost_dev *dev)
|
|||
|
||||
static int vhost_kernel_reset_device(struct vhost_dev *dev)
|
||||
{
|
||||
return vhost_kernel_call(dev, VHOST_RESET_DEVICE, NULL);
|
||||
return vhost_kernel_call(dev, VHOST_RESET_OWNER, NULL);
|
||||
}
|
||||
|
||||
static int vhost_kernel_get_vq_index(struct vhost_dev *dev, int idx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue