mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
monitor/tcg: move tcg hmp commands to accel/tcg, register them dynamically
One more little step towards modular tcg ... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-35-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
627302afb2
commit
bca6eb34f0
4 changed files with 30 additions and 20 deletions
|
@ -320,24 +320,6 @@ static void hmp_info_registers(Monitor *mon, const QDict *qdict)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_TCG
|
||||
static void hmp_info_jit(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
if (!tcg_enabled()) {
|
||||
error_report("JIT information is only available with accel=tcg");
|
||||
return;
|
||||
}
|
||||
|
||||
dump_exec_info();
|
||||
dump_drift_info();
|
||||
}
|
||||
|
||||
static void hmp_info_opcount(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
dump_opcount_info();
|
||||
}
|
||||
#endif
|
||||
|
||||
static void hmp_info_sync_profile(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
int64_t max = qdict_get_try_int(qdict, "max", 10);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue