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/net.c | |
| parent | 57b3a7d81bd7b5fb846ab5c05597a853259a1853 (diff) | |
| download | focaccia-qemu-1bc211a166be2c98f98852124b6fdb61e0b0be32.tar.gz focaccia-qemu-1bc211a166be2c98f98852124b6fdb61e0b0be32.zip | |
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/net.c')
| -rw-r--r-- | net/net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/net.c b/net/net.c index 7a2a0fb5ac..794c652282 100644 --- a/net/net.c +++ b/net/net.c @@ -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"); |