Re: [PATCH v2 1/9] hw/nvram: Restrict stub to sysemu and tools

2022-01-11 Thread Philippe Mathieu-Daudé
On 1/7/22 01:17, Richard Henderson wrote: > On 1/4/22 12:54 AM, Philippe Mathieu-Daudé wrote: >> +if have_system or have_tools > ... >>   if have_system >> +  stub_ss.add(files('fw_cfg.c')) > > Disconnect in tests? (I assume s/tests/stubs/). fw_cfg-interface.c exposes the fw_cfg QOM interface,

Re: [PATCH v2 1/9] hw/nvram: Restrict stub to sysemu and tools

2022-01-06 Thread Richard Henderson
On 1/4/22 12:54 AM, Philippe Mathieu-Daudé wrote: +if have_system or have_tools ... if have_system + stub_ss.add(files('fw_cfg.c')) Disconnect in tests? r~

[PATCH v2 1/9] hw/nvram: Restrict stub to sysemu and tools

2022-01-04 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé User-mode emulation doesn't need the fw_cfg stub. Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé --- hw/nvram/meson.build | 6 -- stubs/meson.build| 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git