Cc: David Hildenbrand <da...@redhat.com>
Reported-by: Michael Tokarev <m...@tls.msk.ru>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
   hw/virtio/Kconfig | 5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig
index aa63ff7fd41..7c554d230d8 100644
--- a/hw/virtio/Kconfig
+++ b/hw/virtio/Kconfig
@@ -37,6 +37,7 @@ config VIRTIO_CRYPTO
config VIRTIO_MD
       bool
+    depends on VIRTIO_PCI
       select MEM_DEVICE
config VIRTIO_PMEM_SUPPORTED
@@ -45,7 +46,7 @@ config VIRTIO_PMEM_SUPPORTED
   config VIRTIO_PMEM
       bool
       default y
-    depends on VIRTIO
+    depends on VIRTIO_PCI

depends on VIRTIO_MD ?

(of course, removing the "select VIRTIO_MD")

--
Cheers,

David / dhildenb


Reply via email to