* couple meson issues
@ 2020-09-15 13:44 Andrew Jones
2020-09-15 16:47 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Jones @ 2020-09-15 13:44 UTC (permalink / raw)
To: pbonzini; +Cc: peter.maydell, qemu-devel
Hi Paolo,
I noticed that 'make check-qtest-aarch64' no longer runs the
arm-cpu-feature test. I simply did
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index 874b5be62be2..db169a53b530 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -146,7 +146,8 @@ qtests_aarch64 = \
(cpu != 'arm' ? ['bios-tables-test'] : []) + \
(config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ? ['tpm-tis-device-test'] : []) + \
(config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ? ['tpm-tis-device-swtpm-test'] : []) + \
- ['numa-test',
+ ['arm-cpu-features',
+ 'numa-test',
'boot-serial-test',
'migration-test']
to get it to run, but don't know if it should be done that way. Were you
planning to inherit tests for aarch64 from arm or something instead?
Also, I was surprised to not see something like "KVM supported" when I did
configure on an AArch64 machine with KVM.
Thanks,
drew
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: couple meson issues
2020-09-15 13:44 couple meson issues Andrew Jones
@ 2020-09-15 16:47 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-09-15 16:47 UTC (permalink / raw)
To: Andrew Jones; +Cc: peter.maydell, qemu-devel
On 15/09/20 15:44, Andrew Jones wrote:
> Hi Paolo,
>
> I noticed that 'make check-qtest-aarch64' no longer runs the
> arm-cpu-feature test. I simply did
>
> diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
> index 874b5be62be2..db169a53b530 100644
> --- a/tests/qtest/meson.build
> +++ b/tests/qtest/meson.build
> @@ -146,7 +146,8 @@ qtests_aarch64 = \
> (cpu != 'arm' ? ['bios-tables-test'] : []) + \
> (config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ? ['tpm-tis-device-test'] : []) + \
> (config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ? ['tpm-tis-device-swtpm-test'] : []) + \
> - ['numa-test',
> + ['arm-cpu-features',
> + 'numa-test',
> 'boot-serial-test',
> 'migration-test']
Yes, either that or "qtests_aarch64 = qtests_arm + <whatever is there now>".
> to get it to run, but don't know if it should be done that way. Were you
> planning to inherit tests for aarch64 from arm or something instead?
>
> Also, I was surprised to not see something like "KVM supported" when I did
> configure on an AArch64 machine with KVM.
That's a "TODO":
# TODO: add back KVM/HAX/HVF/WHPX/TCG
#summary_info += {'KVM support': have_kvm}
#summary_info += {'HAX support': have_hax}
#summary_info += {'HVF support': have_hvf}
#summary_info += {'WHPX support': have_whpx}
#summary_info += {'TCG support': have_tcg}
which I had honestly completely forgotten about.
Accelerator support is per-target so it must be computed in the "foreach
target : target_dirs" loop around line 550 of meson.build. But I might
even have the patch already, since it was meant to be temporary and
fixed as soon as that loop was added to meson in the very first series.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-15 16:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-15 13:44 couple meson issues Andrew Jones
2020-09-15 16:47 ` Paolo Bonzini
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).