From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Igor Mammedov <imammedo@redhat.com>, qemu-devel@nongnu.org
Cc: anisinha@redhat.com, mst@redhat.com, laurent@vivier.eu,
qemu-trivial@nongnu.org, Michael Tokarev <mjt@tls.msk.ru>
Subject: Re: [PATCH trivial for-9.0] smbios: add stub for smbios_get_table_legacy()
Date: Tue, 26 Mar 2024 13:44:38 +0100 [thread overview]
Message-ID: <2b158752-9a6d-4013-a9d1-bb380b31cbda@linaro.org> (raw)
In-Reply-To: <20240326122630.85989-1-imammedo@redhat.com>
On 26/3/24 13:26, Igor Mammedov wrote:
> QEMU build fails with
> hw/i386/fw_cfg.c:74: undefined reference to `smbios_get_table_legacy'
> when it's built with only 'microvm' enabled i.e. with config patch
> +++ b/configs/devices/i386-softmmu/default.mak
> @@ -26,7 +26,7 @@
>
> # Boards:
> #
> -CONFIG_ISAPC=y
> -CONFIG_I440FX=y
> -CONFIG_Q35=y
> +CONFIG_ISAPC=n
> +CONFIG_I440FX=n
> +CONFIG_Q35=n
>
> it happens because I've fogotten/lost smbios_get_table_legacy() stub.
>
> Fix it by adding missing stub as Philippe suggested.
>
> Fixes: b42b0e4daaa5 "smbios: build legacy mode code only for 'pc' machine"
> Reported-by: Michael Tokarev <mjt@tls.msk.ru>
> Singned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> ---
> Compile tested only.
>
> While it's fixing bug for off-tree usecase with non-upstream config,
> it's trivial enough to go into 9.0 if time frame allows.
> Benefit of it going into 9.0 is that folks who play with minimal builds
> won't have to carry the patch in their tree.
>
>
> hw/smbios/smbios_legacy_stub.c | 5 +++++
> 1 file changed, 5 insertions(+)
Thanks, patch queued.
next prev parent reply other threads:[~2024-03-26 12:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-26 12:26 [PATCH trivial for-9.0] smbios: add stub for smbios_get_table_legacy() Igor Mammedov
2024-03-26 12:44 ` Philippe Mathieu-Daudé [this message]
2024-03-26 13:09 ` Philippe Mathieu-Daudé
2024-03-26 16:03 ` Michael Tokarev
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=2b158752-9a6d-4013-a9d1-bb380b31cbda@linaro.org \
--to=philmd@linaro.org \
--cc=anisinha@redhat.com \
--cc=imammedo@redhat.com \
--cc=laurent@vivier.eu \
--cc=mjt@tls.msk.ru \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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 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.