aboutsummaryrefslogtreecommitdiff
path: root/include/net/vhost_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/vhost_net.h')
-rw-r--r--include/net/vhost_net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/vhost_net.h b/include/net/vhost_net.h
index afc1499eb9..77e47398c4 100644
--- a/include/net/vhost_net.h
+++ b/include/net/vhost_net.h
@@ -4,6 +4,9 @@
#include "net/net.h"
#include "hw/virtio/vhost-backend.h"
+#define VHOST_NET_INIT_FAILED \
+ "vhost-net requested but could not be initialized"
+
struct vhost_net;
typedef struct vhost_net VHostNetState;