File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ struct vhost_vring_state;
34
34
struct vhost_vring_addr ;
35
35
struct vhost_scsi_target ;
36
36
struct vhost_iotlb_msg ;
37
+ struct vhost_virtqueue ;
37
38
38
39
typedef int (* vhost_backend_init )(struct vhost_dev * dev , void * opaque );
39
40
typedef int (* vhost_backend_cleanup )(struct vhost_dev * dev );
@@ -113,6 +114,10 @@ typedef int (*vhost_set_inflight_fd_op)(struct vhost_dev *dev,
113
114
struct vhost_inflight * inflight );
114
115
115
116
typedef int (* vhost_dev_start_op )(struct vhost_dev * dev , bool started );
117
+
118
+ typedef int (* vhost_vq_get_addr_op )(struct vhost_dev * dev ,
119
+ struct vhost_vring_addr * addr ,
120
+ struct vhost_virtqueue * vq );
116
121
typedef struct VhostOps {
117
122
VhostBackendType backend_type ;
118
123
vhost_backend_init vhost_backend_init ;
@@ -154,6 +159,7 @@ typedef struct VhostOps {
154
159
vhost_get_inflight_fd_op vhost_get_inflight_fd ;
155
160
vhost_set_inflight_fd_op vhost_set_inflight_fd ;
156
161
vhost_dev_start_op vhost_dev_start ;
162
+ vhost_vq_get_addr_op vhost_vq_get_addr ;
157
163
} VhostOps ;
158
164
159
165
extern const VhostOps user_ops ;
You can’t perform that action at this time.
0 commit comments