|
@@ -28,6 +28,11 @@ void vhost_net_cleanup(VHostNetState *net);
|
|
uint64_t vhost_net_get_features(VHostNetState *net, uint64_t features);
|
|
uint64_t vhost_net_get_features(VHostNetState *net, uint64_t features);
|
|
void vhost_net_ack_features(VHostNetState *net, uint64_t features);
|
|
void vhost_net_ack_features(VHostNetState *net, uint64_t features);
|
|
|
|
|
|
|
|
+int vhost_net_get_config(struct vhost_net *net, uint8_t *config,
|
|
|
|
+ uint32_t config_len);
|
|
|
|
+
|
|
|
|
+int vhost_net_set_config(struct vhost_net *net, const uint8_t *data,
|
|
|
|
+ uint32_t offset, uint32_t size, uint32_t flags);
|
|
bool vhost_net_virtqueue_pending(VHostNetState *net, int n);
|
|
bool vhost_net_virtqueue_pending(VHostNetState *net, int n);
|
|
void vhost_net_virtqueue_mask(VHostNetState *net, VirtIODevice *dev,
|
|
void vhost_net_virtqueue_mask(VHostNetState *net, VirtIODevice *dev,
|
|
int idx, bool mask);
|
|
int idx, bool mask);
|