Received: by 2002:a19:690d:0:0:0:0:0 with SMTP id e13csp1485895lfc; Mon, 8 Feb 2021 12:45:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzr62iAAY7+kKFUv5uEbxM4ZpCExdC/4411PWNeSnWODwJfrtgOFU+VVdh9BrEiajYbQBHq X-Received: by 2002:a25:71d6:: with SMTP id m205mr26184916ybc.136.1612817159517; Mon, 08 Feb 2021 12:45:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612817159; cv=none; d=google.com; s=arc-20160816; b=uvYqY8+YHPLPnllIJmTxYBDWMBBq4EVjZrBS87iqPAEUOROW9celhFbUIWGpATZDJM ds8UAMNiv4TeaCKDSS4ciXFliNDqd24kcD5KZk8HZaj4KUaGjh342/EGlDulmgbCeFKj d+759KGoMJGu9y9accjrC7f1YH6+9DVdym1qfC3ZIJUU2JBGiCfXyc+7O/uhV2mKcaYd 9sMeYLcoUGvtUfOS3qgDNoj8ulKA+qT/EYruhgoX1FYaJ33glPwNao7yg3W+jcyjl0K+ GzLfPoVWwGjuFNyJMW7FxNtvn7ej7vTEQQQjkv/zmkIixteVq1RniOLFo+FYiD71WlDL Rlrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=o7zE2QaiNgYk3fGJN6QxqJNP61X2mV6Qi6nRX32k3nE=; b=T8Ci3f97Pb9M382TQ4TQp188FXGZ1/ndyclNZ115sQGeqP0+TSbPFBVsj6BflEicxe D9VwgA2r7b8pZz4OVnAyYJrUTD1a2RpUoZDuxN74Bwmjr3QCitYxWMOJ5S9Oew0/KQGb 55sEyh/A/kb8SmtzWOA/KyaVBI31gstF1B4eUKpgyehwurJUrRzM1W3aV1m2hch6R05s Q9LSndUa962v69SbRVMwS2oKl1njbP2U7RUonV/rZLM+GB9E5qjU/lk6YO7t8+m0DSp3 iBPF52q+ZKpV0w0L3IQuY9Gtp1UiY3j+CLX2guLyn48DEfSiHRoC0N/XX6OxuL17JkDh hBag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RW7EFu+C; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h6si16917537ybp.352.2021.02.08.12.45.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Feb 2021 12:45:59 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RW7EFu+C; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:53888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9DPy-0003VL-Uf for alex.bennee@linaro.org; Mon, 08 Feb 2021 15:45:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l97Rd-0000dH-Jw for qemu-arm@nongnu.org; Mon, 08 Feb 2021 09:23:18 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1l97RR-0007ZY-Qc for qemu-arm@nongnu.org; Mon, 08 Feb 2021 09:23:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612794182; h=from:from: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; bh=o7zE2QaiNgYk3fGJN6QxqJNP61X2mV6Qi6nRX32k3nE=; b=RW7EFu+Co3zUDWGCuflmISz5qJDi+yhqnWEoHJ//RWE3usf/vr7uD8mNIBhVstMkpnpFKw 8nDxeI23g+YFxCEySLn0GvU+wnmfJ1UNHT+GYwSS92fZCJ3VS+l2dMV0/LfZT8zKne31Fv QlMG/RPFWrHL61mXVz6uAd0fHUQjwIw= 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-365-uCGQmh5NOeaZIEWdGbalqA-1; Mon, 08 Feb 2021 09:22:57 -0500 X-MC-Unique: uCGQmh5NOeaZIEWdGbalqA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E192A91282; Mon, 8 Feb 2021 14:22:55 +0000 (UTC) Received: from [10.10.112.247] (ovpn-112-247.rdu2.redhat.com [10.10.112.247]) by smtp.corp.redhat.com (Postfix) with ESMTP id CF75C60C5B; Mon, 8 Feb 2021 14:22:54 +0000 (UTC) Subject: Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check To: Andrew Jones , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= References: <20210205144345.2068758-1-f4bug@amsat.org> <20210205144345.2068758-2-f4bug@amsat.org> <20210205145938.dvjk7jsfatgm56cy@kamzik.brq.redhat.com> <83662416-8eb6-eab9-fe90-c70daad29e44@amsat.org> <20210205153357.q73y2xo6oazheyma@kamzik.brq.redhat.com> <7173ad26-fc28-171e-b159-4b777fbaeb3a@amsat.org> <20210206104048.wavdqfi3zps377yf@kamzik.brq.redhat.com> From: John Snow Message-ID: Date: Mon, 8 Feb 2021 09:22:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210206104048.wavdqfi3zps377yf@kamzik.brq.redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jsnow@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.57, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.265, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , qemu-block@nongnu.org, qemu-devel@nongnu.org, qemu-arm@nongnu.org, Paolo Bonzini Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: oJT/ojb2Zekz On 2/6/21 5:40 AM, Andrew Jones wrote: >> BTW is there some easy way to dump QMP traffic on stdio? > You can use scripts/qmp/qmp-shell to manually test stuff. > > Thanks, > drew > If you enable debug logging in python too, it'll print to STDERR. This may or may not be useful depending on how the library is getting used and by whom. (For iotests, you used to be able to engage this mode by passing -d. I don't know if the new test runner has changed this behavior. I'm sure avocado has something similar, somewhere, too.) Otherwise, the runes are something like: ``` import logging logging.basicConfig(level=logging.DEBUG) ``` but this only works once per process; the iotests entry point already has a call like this. To override it: ``` import logging logging.getLogger().setLevel(logging.DEBUG) ``` There are other, more complex incantations; you can read https://docs.python.org/3/howto/logging.html if you'd like; the logger we care about is "QMP" (for QMP instances created without a 'nickname') and "QMP.{nickname}" for ones that were. So you can do this: logging.getLogger("QMP").setLevel(logging.DEBUG) but you might need to adjust other settings to get it to appear on STDERR (I don't remember), like setting handler propagation settings and so on. --js