From nobody Sun Feb 8 18:32:28 2026 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=1657199519; cv=none; d=zohomail.com; s=zohoarc; b=aZzmHI6+MGHCpBxSk6xzBpnXdo3du4GLUPMTDqCag5Fk1N0P5WNQ/ul+htKXArNHhhG9cez5ZM/J0heAZdkm2nAU5yyqLBavK4Hj3VnqXFWUo3eVbumckft6XbA6SZu7dUF73FLRF/Skacm2jfZhOXt2aTzBIO+hPSHotqPmNjo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657199519; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=JSulTU1t6Fd7nk491WD8tRWrbdM3EuazqYm17BtbJK4=; b=hUdesw7Pt8D6DAX6WwpkO+Cytjfhy5bikskMfRL8JfIfxUxWaj3t95Ir3QzkTwAwWFhIdXlSZqqgw3MOMYE8c1U/3VvkBTPe8gwfoR9jK23X1QIGVolGCYYLPF36gusrDpI1/8Br9ZptTU+Ev2kEuhNNgViRPUagRcrcOyADWCk= 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 1657199519373981.671470636999; Thu, 7 Jul 2022 06:11:59 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-638-lGqt-ak1OFS_IHKezP52jA-1; Thu, 07 Jul 2022 09:11:52 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 73E262806AA6; Thu, 7 Jul 2022 13:11:13 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5FA752EF97; Thu, 7 Jul 2022 13:11:13 +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 5E311194707A; Thu, 7 Jul 2022 13:11:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 55298194707B for ; Thu, 7 Jul 2022 13:11:01 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 28DB9492C3B; Thu, 7 Jul 2022 13:10:56 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id A5F7C40315D for ; Thu, 7 Jul 2022 13:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657199518; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=JSulTU1t6Fd7nk491WD8tRWrbdM3EuazqYm17BtbJK4=; b=CcZSmyrpOw9wZlbaQU+K7eMRwLV2YTXkL6cNRtjh7blMcCGYaRUjT9W2tgRdAtaNOL/GPo HQqtC/lhouy3Wq6TYr0vkv9Zi2umgYHrVPTNohts8Nef4/y76EaXEuJI/jCahYsNSSQLdR ojCZlpz8AOGmE+u05MfikIpe7shFTwA= X-MC-Unique: lGqt-ak1OFS_IHKezP52jA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 08/11] qemuxml2argvtest: Move real-caps versions of cpu-host tests out of the block setting fake host cpu Date: Thu, 7 Jul 2022 15:10:42 +0200 Message-Id: <3aaca2b4ba1ebed0d29fbdee3fbe48955aca09b9.1657199364.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 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.79 on 10.11.54.5 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: 1657199519780100005 Content-Type: text/plain; charset="utf-8" Make it obvious that the fake cpu does not apply to the test cases based on real capabilities. Signed-off-by: Peter Krempa --- tests/qemuxml2argvtest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index e14ed8b882..74a1baa018 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2120,12 +2120,13 @@ mymain(void) DO_TEST("cpu-Haswell3", QEMU_CAPS_KVM); DO_TEST("cpu-Haswell-noTSX", QEMU_CAPS_KVM); DO_TEST_NOCAPS("cpu-host-model-cmt"); - DO_TEST_CAPS_VER("cpu-host-model-cmt", "4.0.0"); DO_TEST("cpu-tsc-frequency", QEMU_CAPS_KVM); + qemuTestSetHostCPU(&driver, driver.hostarch, NULL); + + DO_TEST_CAPS_VER("cpu-host-model-cmt", "4.0.0"); DO_TEST_CAPS_VER("cpu-tsc-frequency", "4.0.0"); DO_TEST_CAPS_VER("cpu-translation", "4.0.0"); DO_TEST_CAPS_LATEST("cpu-translation"); - qemuTestSetHostCPU(&driver, driver.hostarch, NULL); DO_TEST_NOCAPS("memtune"); DO_TEST_NOCAPS("memtune-unlimited"); --=20 2.36.1