From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [PATCH] kvm: ppc: disable sPAPR code if CONFIG_PSERIES is disabled
Date: Fri, 3 May 2024 17:14:42 +0200 [thread overview]
Message-ID: <bd3d819b-2bf1-4451-8f34-75385b8b342a@linaro.org> (raw)
In-Reply-To: <20240503134918.232633-1-pbonzini@redhat.com>
On 3/5/24 15:49, Paolo Bonzini wrote:
> target/ppc/kvm.c calls out to code in hw/ppc/spapr*.c; that code is
> not present and fails to link if CONFIG_PSERIES is not enabled.
> Adjust kvm.c to depend on CONFIG_PSERIES instead of TARGET_PPC64,
> and compile out anything that requires cap_papr, because only
> the pseries machine will call kvmppc_set_papr().
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> target/ppc/kvm.c | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
prev parent reply other threads:[~2024-05-03 15:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 13:49 [PATCH] kvm: ppc: disable sPAPR code if CONFIG_PSERIES is disabled Paolo Bonzini
2024-05-03 15:14 ` Philippe Mathieu-Daudé [this message]
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=bd3d819b-2bf1-4451-8f34-75385b8b342a@linaro.org \
--to=philmd@linaro.org \
--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 read-only IMAP folder(s) and NNTP newsgroup(s).