From: Cindy Lu Date: Fri, 16 Oct 2020 03:09:09 +0000 (+0800) Subject: net: Add vhost-vdpa in show_netdevs() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1bc211a166be2c98f98852124b6fdb61e0b0be32;p=qemu.git net: Add vhost-vdpa in show_netdevs() Fix the bug that while Check qemu supported netdev, there is no vhost-vdpa Signed-off-by: Cindy Lu Message-Id: <20201016030909.9522-2-lulu@redhat.com> Acked-by: Jason Wang Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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 };