[libvirt PATCH] virt-host-validate: Improve failure message when no HW virt is found

Martin Kletzander mkletzan at redhat.com
Mon May 30 11:51:10 UTC 2022


Make sure that more users understand that without HW virtualization you cannot
have KVM working.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2086677
Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 tools/virt-host-validate-qemu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/virt-host-validate-qemu.c b/tools/virt-host-validate-qemu.c
index 46ff1d249488..fcf9876ac916 100644
--- a/tools/virt-host-validate-qemu.c
+++ b/tools/virt-host-validate-qemu.c
@@ -71,7 +71,8 @@ int virHostValidateQEMU(void)
             virHostMsgPass();
         } else {
             virHostMsgFail(VIR_HOST_VALIDATE_FAIL,
-                           _("Only emulated CPUs are available, performance will be significantly limited"));
+                           _("Host not compatible with KVM, HW virtualization CPU features not found. "
+                             "Only emulated CPUs are available, performance will be significantly limited"));
             ret = -1;
         }
     }
-- 
2.35.1



More information about the libvir-list mailing list