From nobody Tue Feb 10 01:23:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1605698411; cv=none; d=zohomail.com; s=zohoarc; b=SHT/rpjY3vVNmS9KbOBNncgxz/tu8O4Rq0hkVAnezJ1BNC55SuPlliadF+V57GaT6tr8giqhw9apFFB7AGadN8xMKfi5FI+aMpjfbk5xerEHdbe82l26x+BbGBPBlJib0E5us0weZn4kEn9Fam6PW1/LnPaTo836CIPu/C3bmXM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605698411; h=Content-Type:Content-Transfer-Encoding:Cc: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=3ZSV+hYuj1V5p2/zVRD3+cquw9jQnXjdqhc616Z07Yc=; b=F4UbMb5c6+EyxYpHawintoDcVhhA4PdF92EmoZj5BpL2ky7bpeGrA7SYhXxx/hQLV1WRjzMWLru/CxLYdFM0vobv0aQ2+PTw8mv2LRHY3HrvFpLcM9Fq//BwZQIdVFV0aqpgVmoAnyTFEvzYpD2jh258u/U2ii4Zv69of6mtysA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605698411835466.8457198624668; Wed, 18 Nov 2020 03:20:11 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-479-FLzMq3UbNXmhVL1zSvXEjw-1; Wed, 18 Nov 2020 06:20:08 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E8BEC186DD4F; Wed, 18 Nov 2020 11:20:00 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 84E1B5D9CD; Wed, 18 Nov 2020 11:20:00 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7FF2A180B658; Wed, 18 Nov 2020 11:19:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIBJvam008211 for ; Wed, 18 Nov 2020 06:19:57 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3F6BC1001E73; Wed, 18 Nov 2020 11:19:57 +0000 (UTC) Received: from work.redhat.com (ovpn-114-34.ams2.redhat.com [10.36.114.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CBAF10013C4; Wed, 18 Nov 2020 11:19:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605698410; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=3ZSV+hYuj1V5p2/zVRD3+cquw9jQnXjdqhc616Z07Yc=; b=dlm0h/qMKc1Bzov7xDW8l+qnhoToYhKXJFs8RGPZA4UOSWLqj+BQQOZctysS+6gLXKicMr OGmMeYTfFicBQ4Lr7F0n7KqHtNSGW0imVkLCB+VAiLMlFVOCM1raf+9a/jYc0IKdtfeIDy J/TfuBBhl0GeaZg9LFIqL/pNHcFqMtw= X-MC-Unique: FLzMq3UbNXmhVL1zSvXEjw-1 From: Tim Wiederhake To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] cpu_map: sync_qemu_i386: Detect features missing in translation table Date: Wed, 18 Nov 2020 12:19:47 +0100 Message-Id: <20201118111949.32551-2-twiederh@redhat.com> In-Reply-To: <20201118111949.32551-1-twiederh@redhat.com> References: <20201118111949.32551-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Cc: Tim Wiederhake X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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) Content-Type: text/plain; charset="utf-8" Signed-off-by: Tim Wiederhake --- src/cpu_map/sync_qemu_i386.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/cpu_map/sync_qemu_i386.py b/src/cpu_map/sync_qemu_i386.py index 8deda869df..fb4eea101b 100755 --- a/src/cpu_map/sync_qemu_i386.py +++ b/src/cpu_map/sync_qemu_i386.py @@ -364,6 +364,16 @@ def main(): with open(name, "wt") as f: output_model(f, model) =20 + features =3D set() + for model in models: + features.update(model["features"]) + + untranslated =3D [x for x in features if x not in T.values()] + if untranslated: + print( + "Features not in the translation table:", + ", ".join(sorted(untranslated))) + =20 if __name__ =3D=3D "__main__": main() --=20 2.26.2