aboutsummaryrefslogtreecommitdiff
path: root/hw/net/vhost_net-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/vhost_net-stub.c')
-rw-r--r--hw/net/vhost_net-stub.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/net/vhost_net-stub.c b/hw/net/vhost_net-stub.c
index 89d71cf..9f7daae 100644
--- a/hw/net/vhost_net-stub.c
+++ b/hw/net/vhost_net-stub.c
@@ -101,3 +101,15 @@ int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu)
{
return 0;
}
+
+void vhost_net_virtqueue_reset(VirtIODevice *vdev, NetClientState *nc,
+ int vq_index)
+{
+
+}
+
+int vhost_net_virtqueue_restart(VirtIODevice *vdev, NetClientState *nc,
+ int vq_index)
+{
+ return 0;
+}