qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: felipe@nutanix.com
Subject: Re: [PATCH] vhost-user-scsi: fix Kconfig dependencies
Date: Mon, 8 Nov 2021 10:53:54 +0100	[thread overview]
Message-ID: <2a587f18-ac3f-0125-9685-b860b731c84d@redhat.com> (raw)
In-Reply-To: <20211108094705.554350-1-pbonzini@redhat.com>

On 11/8/21 10:47, Paolo Bonzini wrote:
> 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

But there is no PCI call there:

$ git grep pci hw/scsi/vhost*scsi*
$

Don't we want to add VHOST_USER_SCSI_PCI in
hw/virtio/Kconfig instead?



  reply	other threads:[~2021-11-08  9:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08  9:47 [PATCH] vhost-user-scsi: fix Kconfig dependencies Paolo Bonzini
2021-11-08  9:53 ` Philippe Mathieu-Daudé [this message]
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=2a587f18-ac3f-0125-9685-b860b731c84d@redhat.com \
    --to=philmd@redhat.com \
    --cc=felipe@nutanix.com \
    --cc=pbonzini@redhat.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).