From: Bin Guo <guobin@linux.alibaba.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, berrange@redhat.com, philmd@linaro.org
Subject: [PATCH] monitor: disable "info kvm" if !KVM
Date: Mon, 5 Jan 2026 11:43:09 +0800 [thread overview]
Message-ID: <20260105034309.11308-1-guobin@linux.alibaba.com> (raw)
Signed-off-by: Bin Guo <guobin@linux.alibaba.com>
---
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)
next reply other threads:[~2026-01-05 3:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 3:43 Bin Guo [this message]
2026-01-05 10:37 ` [PATCH] monitor: disable "info kvm" if !KVM Daniel P. Berrangé
2026-01-07 9:40 ` Bin Guo
2026-01-08 7:57 ` Markus Armbruster
2026-01-08 9:46 ` Daniel P. Berrangé
2026-01-08 11:35 ` Markus Armbruster
2026-01-08 11:38 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260105034309.11308-1-guobin@linux.alibaba.com \
--to=guobin@linux.alibaba.com \
--cc=berrange@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.