qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* meson, NEED_CPU_H, CONFIG_TCG and tests/
@ 2021-02-19 13:04 Claudio Fontana
  2021-02-19 13:13 ` Claudio Fontana
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Claudio Fontana @ 2021-02-19 13:04 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

Hi Paolo,

currently we have use of CONFIG_TCG in tests/,

but is that variable available at all in there?

I have to adapt some qemu/tests/qtest/* to work also without tcg for ARM,

but I think I am not seeing CONFIG_TCG filtering through, and I wonder whether all the checks in there are actually "wrong".

Looking at meson.build it would seem to me that only stuff in target/ would be able to see CONFIG_TCG,
as a result of

foreach target : target_dirs
  config_target = config_target_mak[target]
  target_name = config_target['TARGET_NAME']
  arch = config_target['TARGET_BASE_ARCH']
  arch_srcs = [config_target_h[target]]
  arch_deps = []
  c_args = ['-DNEED_CPU_H',
            '-DCONFIG_TARGET="@0@-config-target.h"'.format(target),
            '-DCONFIG_DEVICES="@0@-config-devices.h"'.format(target)]

But how could tests see this?

Thanks,

Claudio

-- 
Claudio Fontana
Engineering Manager Virtualization, SUSE Labs Core

SUSE Software Solutions Italy Srl


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-19 17:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-19 13:04 meson, NEED_CPU_H, CONFIG_TCG and tests/ Claudio Fontana
2021-02-19 13:13 ` Claudio Fontana
2021-02-19 13:14 ` Philippe Mathieu-Daudé
2021-02-19 13:17   ` Claudio Fontana
2021-02-19 13:48     ` Philippe Mathieu-Daudé
2021-02-19 13:54       ` Claudio Fontana
2021-02-19 13:30 ` Thomas Huth
2021-02-19 16:04   ` Paolo Bonzini
2021-02-19 17:24     ` Claudio Fontana

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).