Re: [PATCH v3 42/49] target: guard MonitorDef tables with CONFIG_HMP
Philippe Mathieu-Daudé <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
On 16/8/26 21:13, Marc-André Lureau wrote: > Guard SysemuCPUOps::monitor_defs field and the per-target MonitorDef > arrays with CONFIG_HMP. These tables are only used by HMP 'print' and > 'info registers' commands. > > Signed-off-by: Marc-André Lureau <[email protected]> > --- > include/hw/core/sysemu-cpu-ops.h | 2 ++ > monitor/hmp.c | 4 +++- > target/i386/cpu.c | 4 ++++ > target/m68k/cpu.c | 4 ++++ > target/sparc/cpu.c | 5 +++-- > 5 files changed, 16 insertions(+), 3 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <[email protected]>