]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa: make vhost, virtio depend on menu
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 12 Apr 2020 08:36:55 +0000 (04:36 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Apr 2020 10:05:30 +0000 (06:05 -0400)
commit56e84d51fb2a289654dc7db5c4d8ecedc359e270
treeb5c002bb0e57666e8058caeb6fe6d8763f1b0751
parent82c94198df4968e87381f35f1346e2b4fc75229d
vdpa: make vhost, virtio depend on menu

If user did not configure any vdpa drivers, neither vhost
nor virtio vdpa are going to be useful. So there's no point
in prompting for these and selecting vdpa core automatically.
Simplify configuration by making virtio and vhost vdpa
drivers depend on vdpa menu entry. Once done, we no longer
need a separate menu entry, so also get rid of this.
While at it, fix up the IFC entry: VDPA->vDPA for consistency
with other places.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/Kconfig
drivers/vhost/Kconfig
drivers/virtio/Kconfig