From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: felipe@nutanix.com
Subject: [PATCH] vhost-user-scsi: fix Kconfig dependencies
Date: Mon, 8 Nov 2021 10:47:05 +0100 [thread overview]
Message-ID: <20211108094705.554350-1-pbonzini@redhat.com> (raw)
VIRTIO_PCI is a hard dependency for CONFIG_VHOST_USER_SCSI; if virtio-pci
is not included, linking fails due to missing virtio_pci_types_register.
Adjust the Kconfig dependencies.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/scsi/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/scsi/Kconfig b/hw/scsi/Kconfig
index 77d397c949..f972680ffc 100644
--- a/hw/scsi/Kconfig
+++ b/hw/scsi/Kconfig
@@ -50,6 +50,6 @@ config VIRTIO_SCSI
config VHOST_USER_SCSI
bool
+ default y
# Only PCI devices are provided for now
- default y if VIRTIO_PCI
- depends on VIRTIO && VHOST_USER && LINUX
+ depends on VIRTIO_PCI && VHOST_USER && LINUX
--
2.33.1
next reply other threads:[~2021-11-08 9:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 9:47 Paolo Bonzini [this message]
2021-11-08 9:53 ` [PATCH] vhost-user-scsi: fix Kconfig dependencies Philippe Mathieu-Daudé
2021-11-08 10:53 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211108094705.554350-1-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=felipe@nutanix.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).