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 <lulu@redhat.com>
Message-Id: <20201016030909.9522-2-lulu@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
master
Cindy Lu 2020-10-16 11:09:09 +08:00 committed by Michael S. Tsirkin
parent 57b3a7d81b
commit 1bc211a166
1 changed files with 3 additions and 0 deletions

View File

@ -1049,6 +1049,9 @@ static void show_netdevs(void)
#endif
#ifdef CONFIG_POSIX
"vhost-user",
#endif
#ifdef CONFIG_VHOST_VDPA
"vhost-vdpa",
#endif
};