mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
This command is filtered at build-time for i386/x86_64 binaries. By using the recently introduced HMPCommand::arch_bitmask flag we can filter it at runtime, making it possible to compile hmp-commands-info.hx once. Since the method depends on the CONFIG_SEV definition, define it in its own stub file. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260427080738.77138-17-philmd@linaro.org>
17 lines
328 B
C
17 lines
328 B
C
/*
|
|
* Human Monitor 'info sev' stub (CONFIG_SEV)
|
|
*
|
|
* Copyright (c) Linaro
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "monitor/hmp.h"
|
|
#include "monitor/monitor.h"
|
|
|
|
void hmp_info_sev(Monitor *mon, const QDict *qdict)
|
|
{
|
|
monitor_printf(mon, "SEV is not available in this QEMU\n");
|
|
}
|