X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=monitor.c;h=b07f254698454a8bee263d35c3bfa5feac124ae9;hb=6b39b06339ee59559b31f860d4af635b046322df;hp=d26c3bcfcf42ee59dc5551da626c0fec3bc23cae;hpb=61b97833b38122e22c7af08685277681c6b79653;p=mirror_qemu.git diff --git a/monitor.c b/monitor.c index d26c3bcfcf..b07f254698 100644 --- a/monitor.c +++ b/monitor.c @@ -986,6 +986,15 @@ static void qmp_unregister_commands_hack(void) #ifndef TARGET_ARM qmp_unregister_command("query-gic-capabilities"); #endif +#if !defined(TARGET_S390X) + qmp_unregister_command("query-cpu-model-expansion"); + qmp_unregister_command("query-cpu-model-baseline"); + qmp_unregister_command("query-cpu-model-comparison"); +#endif +#if !defined(TARGET_PPC) && !defined(TARGET_ARM) && !defined(TARGET_I386) \ + && !defined(TARGET_S390X) + qmp_unregister_command("query-cpu-definitions"); +#endif } static void qmp_init_marshal(void)