]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-host-validate: Improve failure message when no HW virt is found
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 30 May 2022 11:11:56 +0000 (13:11 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 1 Jun 2022 09:58:09 +0000 (11:58 +0200)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/virt-host-validate-qemu.c

index 46ff1d24948879681d5a6886176420f705e54f3b..096419869ca1610ad2777147024ec82c795ffd5a 100644 (file)
@@ -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;
         }
     }