From nobody Sun May 12 03:27:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1653911484; cv=none; d=zohomail.com; s=zohoarc; b=VrOpLZ8sgUAWWjhG5HDwEpF9hrgum8nZ/H1gxuX6PYeUzY5XYali4C0CVP1A7qihd1zoP50iy32zPE7WA5f1+9cZ1cxzvPKrqwdYZPLqgzPIG3tcpVGN2zrq4PICHy6JcP3RdmQNV2GNy7gZm7t/QGwuOXzCK1dpK8Xgkm/NXkY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653911484; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=wfnqzF8E01mGAzoGoPzuV7Ca9sxkiCrTOtWLC2pE5GU=; b=YcYN5SFNZ0B7lhLy2ojQllt+Sj3X/CFBkUcpB5ZToPOyoMKeDRyDgLyzIImbxXxet7eQds80JSuICuhpqM8W1iA1vwkZWb0wociB3rn3Ym3f0Y9pYlx7FCSKiMe4rWkuFCAE4GvWkJJHsNFcZ5VciuXnlLl47QgU4agzDNDnGr8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1653911484683907.4741476589345; Mon, 30 May 2022 04:51:24 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-46-jPx44blAM6eT7kCT6ykf1w-1; Mon, 30 May 2022 07:51:20 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7A3D8858EFE; Mon, 30 May 2022 11:51:18 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01826492C3B; Mon, 30 May 2022 11:51:17 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9604B1947040; Mon, 30 May 2022 11:51:16 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BF96319466DF for ; Mon, 30 May 2022 11:51:15 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A8B74C23DC9; Mon, 30 May 2022 11:51:15 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A51C3C15E71 for ; Mon, 30 May 2022 11:51:15 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8D3F73C19022 for ; Mon, 30 May 2022 11:51:15 +0000 (UTC) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-31-uI2uP-E5OEKmys_63kmqXA-1; Mon, 30 May 2022 07:51:14 -0400 Received: by mail-ed1-f69.google.com with SMTP id v1-20020a056402348100b0042b4442b954so8021755edc.22 for ; Mon, 30 May 2022 04:51:13 -0700 (PDT) Received: from wheatley.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id gx27-20020a1709068a5b00b006f3ef214e12sm3935949ejc.120.2022.05.30.04.51.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 04:51:11 -0700 (PDT) Received: from wheatley.redhat.com (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id 867807394A26 for ; Mon, 30 May 2022 13:51:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653911483; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=wfnqzF8E01mGAzoGoPzuV7Ca9sxkiCrTOtWLC2pE5GU=; b=VnVOCRHXejRXRc6csYl+/DR6PHQfiGl1gnaa3R+7HJ3KkqmSBPV3+kHLWBwEQXh1yuOe0f scU0Wbmt7/A7Pm1TKdQl97/QDnduSVypnb49ws6gS+PNKne8PQWh+5D+uICq2gRTllLNJv 1jBoOE/EOj9Xr8A62etZNKtZFJgh0Pw= X-MC-Unique: jPx44blAM6eT7kCT6ykf1w-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: uI2uP-E5OEKmys_63kmqXA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wfnqzF8E01mGAzoGoPzuV7Ca9sxkiCrTOtWLC2pE5GU=; b=owd+NuijXJPejzVLTxWqAlDxK1USHu6hb3IzznToa78F50KYUsr2BplySp/MtryH8o JHG2yH38kiIxlwPbgtZ3dYsbIYAnVJO0tp+bI7irreIKp8cLXafky1t44bQkILpQSthJ bSq5Pc/u6f0pB93sIX50101TEqbSi33m4r1jRTTqXf6n+esWFf7XWHqofvRTLkrGpeX4 Edv9VcFoIFfOw8q4Dj560w4Pax55kp3+rZwTKGHlS7SB0fNaXzE/X7fZcIPMj4gPNvT2 xbNasjt1qDCae5R1MtGzqISw+qz/osr1zVGpzbGkYPsbYb14YZb1bC8dpQoNtT4t5fRB CFQA== X-Gm-Message-State: AOAM533VinDU5UEmrpa8Ql+tOz8xlTmH8Lo7otyVRWJqzfnZEnrasjUk QBvotl4ld/B8BTZxrcxtfJYGaKFMra9skh6Kqh/JtIVuME+GV8jCzDJiYUDQlM6h+dFiNvlTjXi ZezhouIhqMVWTVjVFZ9A025KIZfjiPvlhB8H5dReT5EOrZH8hRc03cvmsaVeYyp2NaDGz0dE= X-Received: by 2002:a17:907:968e:b0:6f4:d80f:f0c3 with SMTP id hd14-20020a170907968e00b006f4d80ff0c3mr46458983ejc.145.1653911473041; Mon, 30 May 2022 04:51:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYcxU4oSH6O4ArIIKj7pq/bw7mGKneHNlFFPOg5zJIh8v9QXjZySh5r6ATS0f3EGcJvOF8zg== X-Received: by 2002:a17:907:968e:b0:6f4:d80f:f0c3 with SMTP id hd14-20020a170907968e00b006f4d80ff0c3mr46458964ejc.145.1653911472711; Mon, 30 May 2022 04:51:12 -0700 (PDT) From: Martin Kletzander To: libvir-list@redhat.com Subject: [libvirt PATCH] virt-host-validate: Improve failure message when no HW virt is found Date: Mon, 30 May 2022 13:51:10 +0200 Message-Id: <3b4ccd68ace6329db9a4d4ce8be04aec6248a0fa.1653911461.git.mkletzan@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1653911486276100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Make sure that more users understand that without HW virtualization you can= not have KVM working. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=3D2086677 Signed-off-by: Martin Kletzander Reviewed-by: J=C3=A1n Tomko --- 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-qem= u.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, performanc= e will be significantly limited")); + _("Host not compatible with KVM, HW virtualizat= ion CPU features not found. " + "Only emulated CPUs are available, performanc= e will be significantly limited")); ret =3D -1; } } --=20 2.35.1