Signed-off-by: Bin Guo <[email protected]>
---
 hmp-commands-info.hx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 41674dcbe1..1927649493 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -294,6 +294,7 @@ SRST
     being coalesced.
 ERST
 
+#if defined(CONFIG_KVM)
     {
         .name       = "kvm",
         .args_type  = "",
@@ -301,6 +302,7 @@ ERST
         .help       = "show KVM information",
         .cmd        = hmp_info_kvm,
     },
+#endif
 
 SRST
   ``info kvm``
-- 
2.50.1 (Apple Git-155)


Reply via email to