From: "Michael S. Tsirkin" <mst@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
yang.zhong@intel.com, pbonzini@redhat.com
Subject: Re: [Qemu-trivial] [PATCH] hw/pci/pci-stub: Add msi_enabled() and msi_notify() to the pci stubs
Date: Tue, 19 Feb 2019 15:19:10 -0500 [thread overview]
Message-ID: <20190219151825-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1550592459-7286-1-git-send-email-thuth@redhat.com>
On Tue, Feb 19, 2019 at 05:07:39PM +0100, Thomas Huth wrote:
> Some machines have an AHCI adapter, but no PCI. To be able to
> compile hw/ide/ahci.c without CONFIG_PCI, we still need the two
> functions msi_enabled() and msi_notify() for linking.
> This is required for the upcoming Kconfig-like build system, if
> a user wants to compile a QEMU binary with just one machine that
> has AHCI, but no PCI, like the ARM "cubieboard" for example.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Do you want me to merge this or do you prefer to
merge it with kconfig patches?
> ---
> hw/pci/pci-stub.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/hw/pci/pci-stub.c b/hw/pci/pci-stub.c
> index b941a0e..c04a5df 100644
> --- a/hw/pci/pci-stub.c
> +++ b/hw/pci/pci-stub.c
> @@ -53,3 +53,14 @@ uint16_t pci_requester_id(PCIDevice *dev)
> g_assert(false);
> return 0;
> }
> +
> +/* Required by ahci.c */
> +bool msi_enabled(const PCIDevice *dev)
> +{
> + return false;
> +}
> +
> +void msi_notify(PCIDevice *dev, unsigned int vector)
> +{
> + g_assert_not_reached();
> +}
> --
> 1.8.3.1
WARNING: multiple messages have this Message-ID (diff)
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
yang.zhong@intel.com, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH] hw/pci/pci-stub: Add msi_enabled() and msi_notify() to the pci stubs
Date: Tue, 19 Feb 2019 15:19:10 -0500 [thread overview]
Message-ID: <20190219151825-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1550592459-7286-1-git-send-email-thuth@redhat.com>
On Tue, Feb 19, 2019 at 05:07:39PM +0100, Thomas Huth wrote:
> Some machines have an AHCI adapter, but no PCI. To be able to
> compile hw/ide/ahci.c without CONFIG_PCI, we still need the two
> functions msi_enabled() and msi_notify() for linking.
> This is required for the upcoming Kconfig-like build system, if
> a user wants to compile a QEMU binary with just one machine that
> has AHCI, but no PCI, like the ARM "cubieboard" for example.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Do you want me to merge this or do you prefer to
merge it with kconfig patches?
> ---
> hw/pci/pci-stub.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/hw/pci/pci-stub.c b/hw/pci/pci-stub.c
> index b941a0e..c04a5df 100644
> --- a/hw/pci/pci-stub.c
> +++ b/hw/pci/pci-stub.c
> @@ -53,3 +53,14 @@ uint16_t pci_requester_id(PCIDevice *dev)
> g_assert(false);
> return 0;
> }
> +
> +/* Required by ahci.c */
> +bool msi_enabled(const PCIDevice *dev)
> +{
> + return false;
> +}
> +
> +void msi_notify(PCIDevice *dev, unsigned int vector)
> +{
> + g_assert_not_reached();
> +}
> --
> 1.8.3.1
next prev parent reply other threads:[~2019-02-19 20:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-19 16:07 [Qemu-trivial] [PATCH] hw/pci/pci-stub: Add msi_enabled() and msi_notify() to the pci stubs Thomas Huth
2019-02-19 16:07 ` [Qemu-devel] " Thomas Huth
2019-02-19 17:23 ` [Qemu-trivial] " Philippe Mathieu-Daudé
2019-02-19 17:23 ` Philippe Mathieu-Daudé
2019-02-19 18:24 ` [Qemu-trivial] " Paolo Bonzini
2019-02-19 18:24 ` [Qemu-devel] " Paolo Bonzini
2019-02-19 20:23 ` [Qemu-trivial] " Michael S. Tsirkin
2019-02-19 20:23 ` [Qemu-devel] " Michael S. Tsirkin
2019-02-19 23:19 ` [Qemu-trivial] " Paolo Bonzini
2019-02-19 23:19 ` [Qemu-devel] " Paolo Bonzini
2019-02-20 3:35 ` [Qemu-trivial] " Michael S. Tsirkin
2019-02-20 3:35 ` [Qemu-devel] " Michael S. Tsirkin
2019-02-19 20:19 ` Michael S. Tsirkin [this message]
2019-02-19 20:19 ` Michael S. Tsirkin
2019-02-20 6:24 ` [Qemu-trivial] " Thomas Huth
2019-02-20 6:24 ` [Qemu-devel] " Thomas Huth
2019-02-21 16:55 ` [Qemu-trivial] " Michael S. Tsirkin
2019-02-21 16:55 ` [Qemu-devel] " Michael S. Tsirkin
2019-02-21 18:00 ` [Qemu-trivial] " Paolo Bonzini
2019-02-21 18:00 ` [Qemu-devel] " 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=20190219151825-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=thuth@redhat.com \
--cc=yang.zhong@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.