Files
qemu-qemu-1/stubs/hmp-cmds-hw-s390x.c
Philippe Mathieu-Daudé 1d6cf922e4 monitor: Do not check TARGET_S390X to build s390x commands
These commands are filtered at build-time for s390x binary.
By using the recently introduced HMPCommand::arch_bitmask flag
we can filter them at runtime, making it possible to compile
hmp-commands[-info].hx files once.

Since the methods are used inconditionally within hw/s390x/,
define them in the same stub file.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20260427080738.77138-14-philmd@linaro.org>
2026-05-06 12:58:08 +02:00

16 lines
251 B
C

/*
* Human Monitor hw/s390x stubs
*
* Copyright (c) Linaro
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "qemu/osdep.h"
#include "monitor/hmp.h"
HMP_STUB(dump_skeys)
HMP_STUB(info_cmma)
HMP_STUB(info_skeys)
HMP_STUB(migrationmode)