summary refs log tree commit diff stats
path: root/hw/vhost_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vhost_net.h')
-rw-r--r--hw/vhost_net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/vhost_net.h b/hw/vhost_net.h
index 6c18ff7e94..91e40b195e 100644
--- a/hw/vhost_net.h
+++ b/hw/vhost_net.h
@@ -6,8 +6,9 @@
 struct vhost_net;
 typedef struct vhost_net VHostNetState;
 
-VHostNetState *vhost_net_init(VLANClientState *backend, int devfd);
+VHostNetState *vhost_net_init(VLANClientState *backend, int devfd, bool force);
 
+bool vhost_net_query(VHostNetState *net, VirtIODevice *dev);
 int vhost_net_start(VHostNetState *net, VirtIODevice *dev);
 void vhost_net_stop(VHostNetState *net, VirtIODevice *dev);