diff options
author | Cindy Lu <lulu@redhat.com> | 2020-10-16 11:09:09 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-11-03 16:39:05 -0500 |
commit | 1bc211a166be2c98f98852124b6fdb61e0b0be32 (patch) | |
tree | 7435a1030841347cbdd6dbf15a068bf491b2fc35 /net | |
parent | 57b3a7d81bd7b5fb846ab5c05597a853259a1853 (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1050,6 +1050,9 @@ static void show_netdevs(void) #ifdef CONFIG_POSIX "vhost-user", #endif +#ifdef CONFIG_VHOST_VDPA + "vhost-vdpa", +#endif }; printf("Available netdev backend types:\n"); |