virt-host-validate: Improve failure message when no HW virt is found

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>
This commit is contained in:
Martin Kletzander 2022-05-30 13:11:56 +02:00
parent 1b05f2e50b
commit 1b71b3ac81

View File

@ -71,7 +71,8 @@ int virHostValidateQEMU(void)
virHostMsgPass(); virHostMsgPass();
} else { } else {
virHostMsgFail(VIR_HOST_VALIDATE_FAIL, 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; ret = -1;
} }
} }