From: David Hildenbrand <david@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: Michael Tokarev <mjt@tls.msk.ru>
Subject: Re: [PATCH v2] virtio: kconfig: memory devices are PCI only
Date: Mon, 9 Sep 2024 14:01:36 +0200 [thread overview]
Message-ID: <c80e1612-9a2a-40d5-9581-b8d6bcb79e39@redhat.com> (raw)
In-Reply-To: <20240906101658.514470-1-pbonzini@redhat.com>
On 06.09.24 12:16, Paolo Bonzini wrote:
> Virtio memory devices rely on PCI BARs to expose the contents of memory.
> Because of this they cannot be used (yet) with virtio-mmio or virtio-ccw.
> In fact the code that is common to virtio-mem and virtio-pmem, which
> is in hw/virtio/virtio-md-pci.c, is only included if CONFIG_VIRTIO_PCI
> is set. Reproduce the same condition in the Kconfig file, only allowing
> VIRTIO_MEM and VIRTIO_PMEM to be defined if the transport supports it.
>
> Without this patch it is possible to create a configuration with
> CONFIG_VIRTIO_PCI=n and CONFIG_VIRTIO_MEM=y, but that causes a
> linking failure.
I'll queue this to
https://github.com/davidhildenbrand/qemu.git mem-next
and drop it if someone beats me to up-streaming it :)
--
Cheers,
David / dhildenb
next prev parent reply other threads:[~2024-09-09 12:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-06 10:16 [PATCH v2] virtio: kconfig: memory devices are PCI only Paolo Bonzini
2024-09-06 10:25 ` David Hildenbrand
2024-09-09 12:01 ` David Hildenbrand [this message]
2024-09-25 7:39 ` Pankaj Gupta
2024-09-26 8:51 ` David Hildenbrand
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=c80e1612-9a2a-40d5-9581-b8d6bcb79e39@redhat.com \
--to=david@redhat.com \
--cc=mjt@tls.msk.ru \
--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).