From nobody Sun May 19 07:16:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1646911011; cv=none; d=zohomail.com; s=zohoarc; b=Ek7IBAETs+lf1oBUCNNLqrWZ5GuYnQnCKz4wNCepJN2s3ZZkCDP0TSuYxVJOmh7D4qS8eARn6Sih+dzIFOBxVc2/1p0fepNZO5WjksGvwH7wKXvibXdqSWwrRKqBJzQQFzWJDKXnYKLh09lS5thXp7IedIQuUOKO5dufnsr3/10= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646911011; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=djodHWxz9LAJs4zqlcJSulYqRXXAFQs+TWFObxC6aOw=; b=Q7lLTdJbxhdufJy/A0g2d/+8eOH3KlLBzfMWF4S3QDHPtge/wbDpx4YkKFrOhPDoajjoU4/7SyVa+EKSuJKU2/XeY+FNYpPKqCvx/Xn77/EiUZ5Adz9JkktLKO1XNyy2kpIoKn8SpYDvP17YtPUpZwfjs32aZKlf99XojEeZsrA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646911011681271.39549920125194; Thu, 10 Mar 2022 03:16:51 -0800 (PST) Received: from localhost ([::1]:58968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSGmo-0003gj-Af for importer@patchew.org; Thu, 10 Mar 2022 06:16:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSGhK-0001G5-PB for qemu-devel@nongnu.org; Thu, 10 Mar 2022 06:11:10 -0500 Received: from [2a00:1450:4864:20::62a] (port=35753 helo=mail-ej1-x62a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSGhI-0005B5-Ru for qemu-devel@nongnu.org; Thu, 10 Mar 2022 06:11:10 -0500 Received: by mail-ej1-x62a.google.com with SMTP id yy13so11297732ejb.2 for ; Thu, 10 Mar 2022 03:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=djodHWxz9LAJs4zqlcJSulYqRXXAFQs+TWFObxC6aOw=; b=IjFvbWcUFmXYK4rICDqrxl/mpC2WkCruIC7SZRZ9RhABbMRXMPAITs2RZ+zESSy0Fm iNcJE8y8i471LCmvWJYKym9xeFjXnqUuk4zhcOj00+repTeFdXl8PokiWWXgaYLlX89G 8GgcL+hdxK0okkG6747UO2BSxkrMimKJ2PX77F6Xhc8EbqP7I87s4glSoDJkinWR5c3q +2ySYbVJDxo85NuZ1xLUrg3W9LLaDq8tF4Pmcz92bJLLslT10icTC1mQIVrYzuNaw/1p NUoLnwtYWPesXiOp0h8nMU2axD8K+Vgbr26HCbgpdtFnhYi9peJgOVkF8n2vKQd+zeeX JlcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=djodHWxz9LAJs4zqlcJSulYqRXXAFQs+TWFObxC6aOw=; b=GqC76UEv2ucObsUgJNk5tS8LxPk3IHflQA2gTcSBI8A0mFFdkMmq6O3DKO7tVZYARn ANDla+ihwC1jPiuNZT+H50Jg3CbLpVUWzJJJs4P4TtL5V1rzZrtLfGIBrgwyuR6VZoD4 bmE5sSluuqX8ym3T9dxi3bXadJ1iRLFK3jr1jn6e4ZOHApiivTwtv99ilnjR7MjhKibN HgYJFzHUENAr2onNBkHODMNawo+leqHMn1wjLuxgOOWxnPNv0zkkgqdFe1zGX+Y3epgy s8g7SdJZ+eyQvYcS54TOCAgj5v9o32CRTxHQQx2y292zp2g4Vip+SrHLa+NoMAT5vHOZ kFqA== X-Gm-Message-State: AOAM530rlXcVj9ZrQN5Ph0tgTz9JssTk8tX/Q3RhnUyxMxm3i58Hnwio gpCTsxx1DK+WI0WPIm7Muhwtc/0FqQivGvWI8OvoKp86XNERYw== X-Google-Smtp-Source: ABdhPJwIjZQ726PShCX7fnKHldfDeEx5Yuw6dgjOhjf4O0rbsfrPpvm4KYvPSQbvAlTxl3lAMk4B1w+cm++WoCMA+7Q= X-Received: by 2002:a17:907:72d0:b0:6db:4788:66a9 with SMTP id du16-20020a17090772d000b006db478866a9mr3817213ejc.516.1646910666475; Thu, 10 Mar 2022 03:11:06 -0800 (PST) MIME-Version: 1.0 From: Max Filippov Date: Thu, 10 Mar 2022 03:10:55 -0800 Message-ID: Subject: qemu-softmmu -cpu help broken To: qemu-devel X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::62a (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=jcmvbkbc@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.998, HK_RANDOM_FROM=0.998, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1646911014014100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hello, I've noticed that the command qemu-system-xtensa -cpu help no longer prints anything. Apparently because cpu_list is no longer defined in list_cpus inside softmmu/cpus.c Bisection points to the following commit: e0220bb5b200 ("softmmu: Build target-agnostic objects once") Reverting the change for the cpus.c fixes it for me: diff --git a/softmmu/meson.build b/softmmu/meson.build index 8138248661a2..adede5e604db 100644 --- a/softmmu/meson.build +++ b/softmmu/meson.build @@ -1,5 +1,6 @@ specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files( 'arch_init.c', + 'cpus.c', 'ioport.c', 'memory.c', 'physmem.c', @@ -13,7 +14,6 @@ specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files( softmmu_ss.add(files( 'balloon.c', 'bootdevice.c', - 'cpus.c', 'cpu-throttle.c', 'cpu-timers.c', 'datadir.c', I can send a proper patch if this is the right fix, please let me know. --=20 Thanks. -- Max