]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp-commands-info.hx
monitor: disable "info jit" and "info opcount" if !TCG
[mirror_qemu.git] / hmp-commands-info.hx
index ba98e581ab1c32964549edbad1d66cb2b71a80fd..07500ef787ee8e185be0f00e18ced5342b98ea31 100644 (file)
@@ -261,6 +261,7 @@ STEXI
 Show memory tree.
 ETEXI
 
+#if defined(CONFIG_TCG)
     {
         .name       = "jit",
         .args_type  = "",
@@ -268,6 +269,7 @@ ETEXI
         .help       = "show dynamic compiler info",
         .cmd        = hmp_info_jit,
     },
+#endif
 
 STEXI
 @item info jit
@@ -275,6 +277,7 @@ STEXI
 Show dynamic compiler info.
 ETEXI
 
+#if defined(CONFIG_TCG)
     {
         .name       = "opcount",
         .args_type  = "",
@@ -282,6 +285,7 @@ ETEXI
         .help       = "show dynamic compiler opcode counters",
         .cmd        = hmp_info_opcount,
     },
+#endif
 
 STEXI
 @item info opcount