{"id":2230961,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2230961/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20260430090534.841894-1-pbonzini@redhat.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.1/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260430090534.841894-1-pbonzini@redhat.com>","date":"2026-04-30T09:05:21","name":"[0/8] kconfig cleanups and mypy annotations","submitter":{"id":2701,"url":"http://patchwork.ozlabs.org/api/1.1/people/2701/?format=json","name":"Paolo Bonzini","email":"pbonzini@redhat.com"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20260430090534.841894-1-pbonzini@redhat.com/mbox/","series":[{"id":502245,"url":"http://patchwork.ozlabs.org/api/1.1/series/502245/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502245","date":"2026-04-30T09:05:25","name":"kconfig cleanups and mypy annotations","version":1,"mbox":"http://patchwork.ozlabs.org/series/502245/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2230961/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Os0pnFKs;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=edloc8NA;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5pFN56ytz1yJr\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 19:06:32 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wINLB-0007vO-6L; Thu, 30 Apr 2026 05:05:49 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wINL8-0007rX-Gy\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 05:05:46 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wINL5-00032p-Al\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 05:05:46 -0400","from mail-wm1-f71.google.com (mail-wm1-f71.google.com\n [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-422-FosuL2jlNBeOtYMqFN4SdQ-1; Thu, 30 Apr 2026 05:05:39 -0400","by mail-wm1-f71.google.com with SMTP id\n 5b1f17b1804b1-488d9e1e61aso6861265e9.0\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 02:05:38 -0700 (PDT)","from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a81ed6b65sm84075865e9.3.2026.04.30.02.05.35\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 02:05:35 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777539940;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=0L6UPQqIBvtEwpkdo/ifxNJlu1wz3w2ZGV+lBliBaK0=;\n b=Os0pnFKsmnUZzjlltZ4Q5wIONfzevtd1CH39N5yjbYFqgDzuVN0Y9/CY6qgHGiOOlA6s3V\n 4OZ3FIxJogmn2a+oJqU2YycQNlJrF6YbawvIc8r9kcX/FpeneiVRqyE/9Acp0g15fCvwWL\n 8P+S8ESdljT+CVFRSSzoHaEYBAgdbvI=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777539937; x=1778144737; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=0L6UPQqIBvtEwpkdo/ifxNJlu1wz3w2ZGV+lBliBaK0=;\n b=edloc8NA8R7Fy+Sp2TL0qSWHmberdHbceDwuVxlV27WBFr+8uYX+gN9zAPIrm8dGUR\n XyFaXVHmxhzByrUA3U0KMfYytkZyZT4r8rnk9G58OCuHzXD5c0b8lcrtTJ3b443AY1jT\n gDU/PZvzTtWljqYYauJSxlLVaMxBcER0ER00UNp/w0zijlMrLBO211ctZZgMze5KZkjQ\n x/UomUEuHNnWDhEy3hfQCMG/oUrM443puX732oRwanjeuQ6hu34/3izaYHauunrkMf3R\n RMkezgpr+eq4nzF4I49hF9oa6Z5IZT6nKga3o+B+iQ7otOnwUWPdfw2uH0CIWOenFeGY\n js1A=="],"X-MC-Unique":"FosuL2jlNBeOtYMqFN4SdQ-1","X-Mimecast-MFC-AGG-ID":"FosuL2jlNBeOtYMqFN4SdQ_1777539938","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777539937; x=1778144737;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=0L6UPQqIBvtEwpkdo/ifxNJlu1wz3w2ZGV+lBliBaK0=;\n b=NbIu9D8mlEt8jOWI2CmhaH+KWjs8dPTHft3FN7UoHDuRa38t47TaBDAdf4Sojh61lA\n BkrfMtnXLajQ1Uq3Sk/c0ZPKbPy3Y7W6id6tad9BitZDwmtrAw2XH3fvR3VaLbsegwRj\n kKso/jlloe61oIoblZr+6mR2HWuKf/1jB+/q93TCHJOpYVliz+uGIsVybekC+TpqDwVy\n rnLPJYLyL5RH9OsDxdLQ/cDd6lm10bNeZi/F1gCVRE5DtkUIcjWSUqfXhr/0DLJTQQQ3\n aYKzvF+s0xq3S2oW4YZgxuk8ylZpBzXeaWM1H5BYG6YKFMP8fMgyzG3MAheZYhChMGF9\n 2nuA==","X-Gm-Message-State":"AOJu0YwP2VI/n2gY1zrWta7DgDki60d3H54FhmRu6/COJBhQrY6L1tU9\n RuX44fSdX5Y8+LDBOcpDnVvg3IJEFej640cde7o0IQQfFxISquBhRD2h68x3WTiXJjFtQ4ylvZy\n gZafz958LIPnnXmvuNc8iUPsowcJZ4o01leZwgeQpd0HURP61d7SHEc2tkMKanUJ98CC9fGCFsy\n DKq/0lm2D7cqcgzHO6BgaN8wG1HV5q138ZLOvauxMa","X-Gm-Gg":"AeBDievvylnQ6M0AkqIvJPDz+xdGvHjDAFXvbZDorqF5YM66hi5e3xHtqL3hwbwFg5V\n 9aEMloUGedvAeR39RdrqpkZgEEcMvOqQ++yZe6+RUr2Df2qJV72XlXYYFLdc8Rez71wxuMNCp0R\n 7ROLfWHSO8N3b/XVJUsGIoBV2zW7NmOIwUxwkkB4mK/Jk9aIUI9tpZ8ETt9OTOUm9hNOGtD04c6\n bYSbTdK5baArC0T3osli+m4j66un4ujyJEw4Rm0TDD3RSFzHiKmmZbnuxy5tk3ONMyzC2M5NZJh\n +V0xMFlzAUzkzg2S8K0+2JhUjgjDjPHKq/oHcwrd6t19lxgL+GlEvayr2xVDzSdlOZo09bSTd3V\n CAemaodohukWwVDI0CqhUmEtyUVKfyIxy8pkubGvivHgLASIZfW/YcLU++swL4Mh2pKXGS/hTYW\n WLnj8UOa1tL7V2mnp+aL5urC5F/j3qeHx7Wdc=","X-Received":["by 2002:a05:600c:198b:b0:488:a2ac:a334 with SMTP id\n 5b1f17b1804b1-48a83d66cb9mr34798825e9.3.1777539937024;\n Thu, 30 Apr 2026 02:05:37 -0700 (PDT)","by 2002:a05:600c:198b:b0:488:a2ac:a334 with SMTP id\n 5b1f17b1804b1-48a83d66cb9mr34798165e9.3.1777539936338;\n Thu, 30 Apr 2026 02:05:36 -0700 (PDT)"],"From":"Paolo Bonzini <pbonzini@redhat.com>","To":"qemu-devel@nongnu.org","Subject":"[PATCH 0/8] kconfig cleanups and mypy annotations","Date":"Thu, 30 Apr 2026 11:05:21 +0200","Message-ID":"<20260430090534.841894-1-pbonzini@redhat.com>","X-Mailer":"git-send-email 2.54.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=170.10.133.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com","X-Spam_score_int":"-20","X-Spam_score":"-2.1","X-Spam_bar":"--","X-Spam_report":"(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"Modernize the code a bit and fix some issues that were found while\nadding mypy annotations to minikconf.\n\nWhile this stops short of adding flake8 and pylint, it already\nimproves the style and fixes a bug (see patches 1-2).\n\nPaolo Bonzini (13):\n  kconfig: remove duplicate declaration of CONFIG_CXL\n  kconfig: remove duplicate declaration of CONFIG_MIPS_BOSTON_AIA\n  minikconf: run through isort\n  minikconf: small cleanups and dead code removal\n  minikconf: move command-line assignment out of the parser\n  minikconf: fix type mismatch in do_declaration\n  minikconf: simplify self.tok\n  minikconf: modernize handling of include chain\n  minikconf: use .items()\n  minikconf: pull main program into a function\n  minikconf: remove unnecessary semicolons\n  minikconf: replace else with early return and avoid unnecessary else\n  minikconf: add mypy annotations\n\n hw/Kconfig              |   1 -\n hw/cxl/Kconfig          |   3 -\n hw/misc/Kconfig         |   8 -\n hw/riscv/Kconfig        |   4 +\n python/tests/linters.py |   6 +\n scripts/minikconf.py    | 465 +++++++++++++++++++++-------------------\n 6 files changed, 254 insertions(+), 233 deletions(-)\n delete mode 100644 hw/cxl/Kconfig"}