From: Thomas Huth <thuth@redhat.com>
To: Max Filippov <jcmvbkbc@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: qemu-softmmu -cpu help broken
Date: Thu, 10 Mar 2022 12:39:20 +0100 [thread overview]
Message-ID: <d67532fe-367d-daae-1edc-b3ea0a5edc2e@redhat.com> (raw)
In-Reply-To: <CAMo8BfKsLmdjRzmX6+nD3u-+8-6dx5VuU-kNH9gwx04NhQ5fGA@mail.gmail.com>
On 10/03/2022 12.10, Max Filippov wrote:
> Hello,
>
> I've noticed that the command
> qemu-system-xtensa -cpu help
> no longer prints anything. Apparently because cpu_list is no longer defined
> in list_cpus inside softmmu/cpus.c
>
> Bisection points to the following commit:
> e0220bb5b200 ("softmmu: Build target-agnostic objects once")
>
> Reverting the change for the cpus.c fixes it for me:
>
> diff --git a/softmmu/meson.build b/softmmu/meson.build
> index 8138248661a2..adede5e604db 100644
> --- a/softmmu/meson.build
> +++ b/softmmu/meson.build
> @@ -1,5 +1,6 @@
> specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
> 'arch_init.c',
> + 'cpus.c',
> 'ioport.c',
> 'memory.c',
> 'physmem.c',
> @@ -13,7 +14,6 @@ specific_ss.add(when: ['CONFIG_SOFTMMU',
> 'CONFIG_TCG'], if_true: [files(
> softmmu_ss.add(files(
> 'balloon.c',
> 'bootdevice.c',
> - 'cpus.c',
> 'cpu-throttle.c',
> 'cpu-timers.c',
> 'datadir.c',
>
> I can send a proper patch if this is the right fix, please
> let me know.
Since we're in soft-freeze now already, I think your patch is the best way
to go forward, so yes, please post it as a proper patch!
Thomas
next prev parent reply other threads:[~2022-03-10 12:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-10 11:10 qemu-softmmu -cpu help broken Max Filippov
2022-03-10 11:39 ` Thomas Huth [this message]
2022-03-10 13:31 ` 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=d67532fe-367d-daae-1edc-b3ea0a5edc2e@redhat.com \
--to=thuth@redhat.com \
--cc=f4bug@amsat.org \
--cc=jcmvbkbc@gmail.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).