qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Thomas Huth <thuth@redhat.com>,
	qemu-devel@nongnu.org, Reinoud Zandijk <reinoud@netbsd.org>
Cc: pbonzini@redhat.com, mark.cave-ayland@ilande.co.uk,
	berrange@redhat.com, philmd@linaro.org
Subject: Re: [PATCH v3 06/12] meson: Disallow 64-bit on 32-bit HVF/NVMM/WHPX emulation
Date: Wed, 5 Feb 2025 11:09:06 -0800	[thread overview]
Message-ID: <027c0b37-f73d-4f82-abb6-f3f6b76e8937@linaro.org> (raw)
In-Reply-To: <56d285f8-2edb-4194-abf3-dd39e635a0af@redhat.com>

On 2/4/25 22:50, Thomas Huth wrote:
> On 04/02/2025 22.53, Richard Henderson wrote:
>> Require a 64-bit host binary to spawn a 64-bit guest.
>>
>> For HVF this is trivially true because macOS 11 dropped
>> support for 32-bit applications entirely.
>>
>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>> ---
>>   meson.build | 11 +++++++----
>>   1 file changed, 7 insertions(+), 4 deletions(-)
>>
>> diff --git a/meson.build b/meson.build
>> index 0ca83135e2..c80382befd 100644
>> --- a/meson.build
>> +++ b/meson.build
>> @@ -319,13 +319,16 @@ else
>>   endif
>>   accelerator_targets += { 'CONFIG_XEN': xen_targets }
>> -if cpu in ['aarch64']
>> +if cpu == 'aarch64'
>>     accelerator_targets += {
>>       'CONFIG_HVF': ['aarch64-softmmu']
>>     }
>> -endif
>> -
>> -if cpu in ['x86', 'x86_64']
>> +elif cpu == 'x86'
>> +  accelerator_targets += {
>> +    'CONFIG_NVMM': ['i386-softmmu'],
>> +    'CONFIG_WHPX': ['i386-softmmu'],
> 
> We dropped support for 32-bit Windows last year, so I think you can remove that WHPX line.
> 
> And looking at the NetBSD Makefile:
> 
>   http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/nvmm/Makefile?rev=1.1.6.2;content- 
> type=text%2Fplain
> 
> ... it seems to me like NVMM only gets enabled there for x86_64, so I think you could 
> likely remove the NVMM line / the whole 32-bit paragraph here, too?

Good eye.  Thanks for double-checking NetBSD, especially.


r~


  reply	other threads:[~2025-02-05 19:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-04 21:53 [PATCH v3 00/12] meson: Deprecate 32-bit host support Richard Henderson
2025-02-04 21:53 ` [PATCH v3 01/12] meson: Drop tcg as a module Richard Henderson
2025-02-04 21:53 ` [PATCH v3 02/12] tcg: Move stubs in tcg/perf.h to tcg/perf-stubs.c Richard Henderson
2025-02-05 21:15   ` Philippe Mathieu-Daudé
2025-02-04 21:53 ` [PATCH v3 03/12] plugins: Uninline qemu_plugin_add_opts Richard Henderson
2025-02-05 21:15   ` Philippe Mathieu-Daudé
2025-02-04 21:53 ` [PATCH v3 04/12] meson: Disallow 64-bit on 32-bit KVM emulation Richard Henderson
2025-02-05  6:33   ` Thomas Huth
2025-02-05 16:43   ` Philippe Mathieu-Daudé
2025-02-04 21:53 ` [PATCH v3 05/12] meson: Disallow 64-bit on 32-bit Xen emulation Richard Henderson
2025-02-05  6:38   ` Thomas Huth
2025-02-05 17:56   ` Philippe Mathieu-Daudé
2025-02-04 21:53 ` [PATCH v3 06/12] meson: Disallow 64-bit on 32-bit HVF/NVMM/WHPX emulation Richard Henderson
2025-02-05  6:50   ` Thomas Huth
2025-02-05 19:09     ` Richard Henderson [this message]
2025-02-04 21:53 ` [PATCH v3 07/12] gitlab-ci: Replace aarch64 with arm in cross-i686-tci build Richard Henderson
2025-02-04 21:53 ` [PATCH v3 08/12] configure: Define TARGET_LONG_BITS in configs/targets/*.mak Richard Henderson
2025-02-04 21:53 ` [PATCH v3 09/12] target/*: Remove TARGET_LONG_BITS from cpu-param.h Richard Henderson
2025-02-04 21:53 ` [PATCH v3 10/12] meson: Disallow 64-bit on 32-bit emulation Richard Henderson
2025-02-05  6:53   ` Thomas Huth
2025-02-04 21:53 ` [PATCH v3 11/12] meson: Deprecate 32-bit host support Richard Henderson
2025-02-05 18:05   ` Philippe Mathieu-Daudé
2025-02-05 18:12     ` Richard Henderson
2025-02-05 18:53       ` Philippe Mathieu-Daudé
2025-02-04 21:53 ` [PATCH v3 12/12] tcg: Remove TCG_OVERSIZED_GUEST Richard Henderson

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=027c0b37-f73d-4f82-abb6-f3f6b76e8937@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=berrange@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=reinoud@netbsd.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).