mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-04 07:52:00 -06:00
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>
This commit is contained in:
parent
57b3a7d81b
commit
1bc211a166
1 changed files with 3 additions and 0 deletions
|
@ -1049,6 +1049,9 @@ static void show_netdevs(void)
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_POSIX
|
#ifdef CONFIG_POSIX
|
||||||
"vhost-user",
|
"vhost-user",
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_VHOST_VDPA
|
||||||
|
"vhost-vdpa",
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue