diff options
| author | Cindy Lu | 2020-10-16 05:09:09 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2020-11-03 22:39:05 +0100 |
| commit | 1bc211a166be2c98f98852124b6fdb61e0b0be32 (patch) | |
| tree | 7435a1030841347cbdd6dbf15a068bf491b2fc35 | |
| parent | vhost-vdpa: Add qemu_close in vhost_vdpa_cleanup (diff) | |
| download | qemu-1bc211a166be2c98f98852124b6fdb61e0b0be32.tar.gz qemu-1bc211a166be2c98f98852124b6fdb61e0b0be32.tar.xz 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>
| -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"); |
