summary refs log tree commit diff stats
path: root/include/hw/virtio/vhost-backend.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2022-01-10 00:47:52 -0500
committerMichael S. Tsirkin <mst@redhat.com>2022-01-10 16:02:01 -0500
commit98b34e030e39969300952e97d873d8553dcf650f (patch)
tree3221284780dcecc634ed1513097dd6cdd8bfebd1 /include/hw/virtio/vhost-backend.h
parent73bd56abe1709352ab123952c96cc3255d0cbeff (diff)
downloadfocaccia-qemu-98b34e030e39969300952e97d873d8553dcf650f.tar.gz
focaccia-qemu-98b34e030e39969300952e97d873d8553dcf650f.zip
Revert "vhost: introduce new VhostOps vhost_set_config_call"
This reverts commit 88062372340d33090b7f089ed3b1a00f530a8914.

Fixes: 8806237234 ("vhost: introduce new VhostOps vhost_set_config_call")
Cc: "Cindy Lu" <lulu@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio/vhost-backend.h')
-rw-r--r--include/hw/virtio/vhost-backend.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/virtio/vhost-backend.h b/include/hw/virtio/vhost-backend.h
index ff34eb7c8a..81bf3109f8 100644
--- a/include/hw/virtio/vhost-backend.h
+++ b/include/hw/virtio/vhost-backend.h
@@ -126,8 +126,6 @@ typedef int (*vhost_get_device_id_op)(struct vhost_dev *dev, uint32_t *dev_id);
 
 typedef bool (*vhost_force_iommu_op)(struct vhost_dev *dev);
 
-typedef int (*vhost_set_config_call_op)(struct vhost_dev *dev,
-                                       int fd);
 typedef struct VhostOps {
     VhostBackendType backend_type;
     vhost_backend_init vhost_backend_init;
@@ -173,7 +171,6 @@ typedef struct VhostOps {
     vhost_vq_get_addr_op  vhost_vq_get_addr;
     vhost_get_device_id_op vhost_get_device_id;
     vhost_force_iommu_op vhost_force_iommu;
-    vhost_set_config_call_op vhost_set_config_call;
 } VhostOps;
 
 int vhost_backend_update_device_iotlb(struct vhost_dev *dev,