mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
meson: Disallow 64-bit on 32-bit Xen emulation
Require a 64-bit host binary to spawn a 64-bit guest. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
33614fa310
commit
807a85dfc8
1 changed files with 7 additions and 2 deletions
|
@ -304,9 +304,14 @@ else
|
|||
endif
|
||||
accelerator_targets = { 'CONFIG_KVM': kvm_targets }
|
||||
|
||||
if cpu in ['x86', 'x86_64']
|
||||
if cpu == 'x86'
|
||||
xen_targets = ['i386-softmmu']
|
||||
elif cpu == 'x86_64'
|
||||
xen_targets = ['i386-softmmu', 'x86_64-softmmu']
|
||||
elif cpu in ['arm', 'aarch64']
|
||||
elif cpu == 'arm'
|
||||
# i386 emulator provides xenpv machine type for multiple architectures
|
||||
xen_targets = ['i386-softmmu']
|
||||
elif cpu == 'aarch64'
|
||||
# i386 emulator provides xenpv machine type for multiple architectures
|
||||
xen_targets = ['i386-softmmu', 'x86_64-softmmu', 'aarch64-softmmu']
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue