Re: [RFC v12 43/65] tests: device-introspect-test: cope with ARM TCG-only devices

2021-03-28 Thread Richard Henderson
On 3/26/21 1:36 PM, Claudio Fontana wrote: +#ifndef CONFIG_TCG +{ +const char *arch = qtest_get_arch(); +if (strcmp(arch, "arm") == 0 || strcmp(arch, "aarch64") == 0) { +goto add_machine_test_done; +} +} +#endif /* !CONFIG_TCG */ if (g_test_quick(

[RFC v12 43/65] tests: device-introspect-test: cope with ARM TCG-only devices

2021-03-26 Thread Claudio Fontana
Skip the test_device_intro_concrete for now for ARM KVM-only build, as on ARM we currently build devices for ARM that are not compatible with a KVM-only build. We can remove this workaround when we fix this in KConfig etc, and we only list and build machines that are compatible with KVM for KVM-on