diff options
author | Yang Zhong <yang.zhong@intel.com> | 2019-01-23 14:56:15 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-07 21:45:53 +0100 |
commit | b42075bb77672616127c9452c0f836e757e9ce1a (patch) | |
tree | 97ce4d2682af74305ea3858f56793317022389c8 /hw/block/Kconfig | |
parent | 2ac041c2c3d89691cda1657981c41fe4bc20244b (diff) |
virtio: express virtio dependencies with Kconfig
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190123065618.3520-42-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/block/Kconfig')
-rw-r--r-- | hw/block/Kconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/block/Kconfig b/hw/block/Kconfig index 6a23659a6f..00f9dad372 100644 --- a/hw/block/Kconfig +++ b/hw/block/Kconfig @@ -28,8 +28,11 @@ config NVME_PCI config VIRTIO_BLK bool + default y + depends on VIRTIO config VHOST_USER_BLK bool - default y - depends on VHOST_USER && LINUX + # Only PCI devices are provided for now + default y if VIRTIO_PCI + depends on VIRTIO && VHOST_USER && LINUX |