From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Daniel Henrique Barboza <dbarboza@ventanamicro.com>,
qemu-devel@nongnu.org
Cc: ajones@ventanamicro.com, Paolo Bonzini <pbonzini@redhat.com>,
Thomas Huth <thuth@redhat.com>
Subject: Re: [PATCH 2/2] system/vl.c: parse all -accel options
Date: Mon, 1 Jul 2024 16:34:42 +0200 [thread overview]
Message-ID: <5e0c57ef-d06d-4cdc-8d5b-3adec8263c5f@linaro.org> (raw)
In-Reply-To: <20240701133038.1489043-3-dbarboza@ventanamicro.com>
On 1/7/24 15:30, Daniel Henrique Barboza wrote:
> We're not honouring KVM options that are provided by any -accel option
> aside from the first. In this example:
>
> qemu-system-riscv64 -accel kvm,riscv-aia=emul (...) \ -accel
> kvm,riscv-aia=hwaccel
>
> 'riscv-aia' will be set to 'emul', ignoring the last occurrence of the
> option that set 'riscv-aia' to 'hwaccel'.
>
> The previous change guarantees that we'll not have mixed accelerators in
> the command line, and now it's safe to activate 'merge_lists' for
> 'qemu_accel_opts'. This will merge all accel options in the same list,
> allowing the 'qemu_opt_foreach()' callback in do_configure_accelerator()
> to apply each one of them in the Accel class.
>
> Reported-by: Andrew Jones <ajones@ventanamicro.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
> ---
> system/vl.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
next prev parent reply other threads:[~2024-07-01 14:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-01 13:30 [PATCH 0/2] system/vl.c: parse all '-accel' opts Daniel Henrique Barboza
2024-07-01 13:30 ` [PATCH 1/2] system/vl.c: do not allow mixed -accel opts Daniel Henrique Barboza
2024-07-01 15:23 ` Richard Henderson
2024-07-01 15:53 ` Daniel Henrique Barboza
2024-07-01 16:23 ` Paolo Bonzini
2024-07-01 13:30 ` [PATCH 2/2] system/vl.c: parse all -accel options Daniel Henrique Barboza
2024-07-01 14:34 ` Philippe Mathieu-Daudé [this message]
2024-07-01 16:43 ` Paolo Bonzini
2024-07-01 19:47 ` Philippe Mathieu-Daudé
2024-07-04 11:01 ` Alex Bennée
2024-07-01 16:31 ` [PATCH 0/2] system/vl.c: parse all '-accel' opts Paolo Bonzini
2024-07-01 17:20 ` Daniel Henrique Barboza
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=5e0c57ef-d06d-4cdc-8d5b-3adec8263c5f@linaro.org \
--to=philmd@linaro.org \
--cc=ajones@ventanamicro.com \
--cc=dbarboza@ventanamicro.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.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 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).