|
| From: | Jason Wang |
| Subject: | Re: [PATCH v2 2/2] net: Add vhost-vdpa in show_netdevs() |
| Date: | Mon, 19 Oct 2020 15:52:59 +0800 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2020/10/16 上午11:09, Cindy Lu wrote:
Fix the bug that while Check qemu supported netdev,
there is no vhost-vdpa
Signed-off-by: Cindy Lu <lulu@redhat.com>
---
net/net.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/net.c b/net/net.c
index 7a2a0fb5ac..794c652282 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1049,6 +1049,9 @@ static void show_netdevs(void)
#endif
#ifdef CONFIG_POSIX
"vhost-user",
+#endif
+#ifdef CONFIG_VHOST_VDPA
+ "vhost-vdpa",
#endif
};
Acked-by: Jason Wang <jasowang@redhat.com>
| [Prev in Thread] | Current Thread | [Next in Thread] |