[{"id":3688052,"web_url":"http://patchwork.ozlabs.org/comment/3688052/","msgid":"<f6b9b16a-0273-4dc7-a8e0-df074d246a01@oss.qualcomm.com>","list_archive_url":null,"date":"2026-05-07T20:54:58","subject":"Re: [PATCH 0/6] target/arm: Fix functional test failures in KVM-only\n builds","submitter":{"id":93152,"url":"http://patchwork.ozlabs.org/api/people/93152/","name":"Pierrick Bouvier","email":"pierrick.bouvier@oss.qualcomm.com"},"content":"On 5/7/2026 12:47 PM, Peter Maydell wrote:\n> If you build QEMU with --disable-tcg on an AArch64 system, some of the\n> \"make check-functional\" tests fail. This patchset fixes them.\n> \n> The first patch fixes a bug in QEMU proper, where we broke the\n> \"x-remote\" machine because we forgot to mark it up as being\n> OK to expose in the qemu-system-arm and qemu-system-aarch64\n> binaries, the way we do for \"none\" and for all the actual Arm\n> machine types.\n> \n> The rest are tweaks to the tests:\n>  * tests that run '-machine virt,virtualization=on' need to\n>    check for failure because the machine reports that the hypervisor\n>    can't support nested virt\n>  * tests that use a specific CPU type need to either be\n>    restricted to TCG-only, or else changed to use 'max' instead\n>    (since that's the only CPU that will work on both TCG and KVM)\n> \n> thanks\n> -- PMM\n> \n> Peter Maydell (6):\n>   hw/remote/machine.c: Mark x-remote machine as OK for AArch64 and\n>     AArch32\n>   tests/functional/test_virt_vbsa: Skip UEFI test if virtualization not\n>     supported\n>   tests/functional/test_kvm.py: Use -cpu max, not cortex-a72\n>   tests/functional/test_kvm.py: Skip if virtualization not supported\n>   tests/functional/test_hotplug_pci.py: Require TCG\n>   tests/functional/test_tuxrun: Restrict to TCG\n> \n>  hw/remote/machine.c                          |  3 +++\n>  tests/functional/aarch64/test_hotplug_pci.py |  1 +\n>  tests/functional/aarch64/test_kvm.py         | 12 ++++++++++--\n>  tests/functional/aarch64/test_tuxrun.py      |  2 ++\n>  tests/functional/aarch64/test_virt_vbsa.py   | 10 +++++++++-\n>  5 files changed, 25 insertions(+), 3 deletions(-)\n> \n\nFor series:\nReviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>","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 (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=TNFtuYN4;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=Ve0XpDDd;\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 4gBPg108zGz1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 06:56:11 +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 1wL5kT-0006eu-0e; Thu, 07 May 2026 16:55:09 -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 <pierrick.bouvier@oss.qualcomm.com>)\n id 1wL5kQ-0006b2-Lr\n for qemu-devel@nongnu.org; Thu, 07 May 2026 16:55:06 -0400","from mx0b-0031df01.pphosted.com ([205.220.180.131])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pierrick.bouvier@oss.qualcomm.com>)\n id 1wL5kO-0003XO-1q\n for qemu-devel@nongnu.org; Thu, 07 May 2026 16:55:06 -0400","from pps.filterd (m0279872.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 647G31uB2384216\n for <qemu-devel@nongnu.org>; Thu, 7 May 2026 20:55:02 GMT","from mail-dl1-f72.google.com (mail-dl1-f72.google.com\n [74.125.82.72])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e0wwuh1yb-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 20:55:02 +0000 (GMT)","by mail-dl1-f72.google.com with SMTP id\n a92af1059eb24-12c8ccc7593so3011509c88.1\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 13:55:01 -0700 (PDT)","from [192.168.1.170] (216-71-219-44.dyn.novuscom.net.\n [216.71.219.44]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-13270901ba2sm195177c88.11.2026.05.07.13.54.59\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Thu, 07 May 2026 13:54:59 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n qTJ7jAQV9Bq3MZFnxRQrIHL1++tQ1fQnlXQcS7CiTx4=; b=TNFtuYN4YneSLx3u\n wUMmWlykQbmCEYOY16iQziypgPMTvN+SK41ZNDpsNy1jqjjmeRusQZjvSkBHdJTs\n d+lLDDv7I1ShbIkhU0DTn/9KjEDhfd3oxc/DCUwOl+VVsNl/lVZEiubTM6BBHfqA\n LD50BPHrem3LV0QlWSLpyh9oeklILKNdO7xJim73xyN+btMGDk8jFWtXnk8vq+8J\n u67p0ds1GQsQ6TexDhjDfGgPT5s9PVw8G9AyQuMT7c6xro3Ol1y34yOELxx6QP2k\n Ku13nc+JCnezdCAy4IbQ49OjrQ/S/UQUTHUW1IBsA3PhDUEU9zEmzAwWdmfkFEaY\n QhYS/w==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1778187301; x=1778792101; darn=nongnu.org;\n h=content-transfer-encoding:in-reply-to:content-language:from\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :from:to:cc:subject:date:message-id:reply-to;\n bh=qTJ7jAQV9Bq3MZFnxRQrIHL1++tQ1fQnlXQcS7CiTx4=;\n b=Ve0XpDDdhUD68OcqjjJL7GKbmtC++Vhs/F0oPY9teDBzuZvORGKJrRA0kLmxG+dRji\n y+VbXO2y1MXW3pvby2yAQRjgx1LwBWCs7V2AIfX06pMDmJSZAP1yutfWtsI9d7TSQbVD\n BDEmvatX0WiRg4mG6t+KWIFhJ9pTLKocPwiyBVXWyvIxi+yX5Ffo3lYYVnklqX6vGl6S\n BNmiCHd3npEsO2VtN2Zr6zNC0J5N78CJxNQWO+RQ7l5NTrg0sKaYbUjPPCQo2tCu1bt+\n DHfwycGwu/7zE99NxML4xA0Pr/VCjUVmZ2BoKbrEx6CDuC1y75h/N3hWyzMEmci8+n7B\n ZcQw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778187301; x=1778792101;\n h=content-transfer-encoding:in-reply-to:content-language:from\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=qTJ7jAQV9Bq3MZFnxRQrIHL1++tQ1fQnlXQcS7CiTx4=;\n b=AoTSpWfgI/RV9DIC7GTc+dAOMxMtBpY/nvIxDX592kZAICs/Eo6XJyBqAx8XGCoRfo\n UxTV5mlBMFn3eOoj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X-Received":["by 2002:a05:7022:fa07:b0:12d:f0af:110d with SMTP id\n a92af1059eb24-1318ea2dc7bmr4612602c88.28.1778187300914;\n Thu, 07 May 2026 13:55:00 -0700 (PDT)","by 2002:a05:7022:fa07:b0:12d:f0af:110d with SMTP id\n a92af1059eb24-1318ea2dc7bmr4612580c88.28.1778187300303;\n Thu, 07 May 2026 13:55:00 -0700 (PDT)"],"Message-ID":"<f6b9b16a-0273-4dc7-a8e0-df074d246a01@oss.qualcomm.com>","Date":"Thu, 7 May 2026 13:54:58 -0700","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH 0/6] target/arm: Fix functional test failures in KVM-only\n builds","To":"Peter Maydell <peter.maydell@linaro.org>, qemu-arm@nongnu.org,\n qemu-devel@nongnu.org","Cc":"Elena Ufimtseva <elena.ufimtseva@oracle.com>,\n Jagannathan Raman <jag.raman@oracle.com>,\n Gustavo Romero <gustavo.romero@linaro.org>,\n =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>","References":"<20260507194728.2034696-1-peter.maydell@linaro.org>","From":"Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>","Content-Language":"en-US","In-Reply-To":"<20260507194728.2034696-1-peter.maydell@linaro.org>","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"7bit","X-Proofpoint-ORIG-GUID":"IoLFeeLMDz9jeT1ufKRCTFK2aIEYVc9u","X-Authority-Analysis":"v=2.4 cv=Nd/WEWD4 c=1 sm=1 tr=0 ts=69fcfc26 cx=c_pps\n a=bS7HVuBVfinNPG3f6cIo3Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17\n a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22\n a=EUspDBNiAAAA:8 a=Z8H6kxiZWI1TnuwXCkYA:9 a=QEXdDO2ut3YA:10\n a=vBUdepa8ALXHeOFLBtFW:22","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNTA3MDIwOSBTYWx0ZWRfX07rHdNVXFZLk\n yOuqkWwfQoInVQom6PEqahX7YeRj115uM24rCjxnsduU0JTfU3X9ZfGfWCZ1D+YIb8Can0G9wim\n 7SWEeuzinbc/YrC8ueOFIfZhkNGsKjjPT5XoCJ2mexsG+PEdTZh3+OtvBlfuBYn6T//VDg5xjfe\n pFs4sSMq7RdgplHrs6gSZpK6IW7w+O3hK5eDJ0qTbvSKyy8VEGLkSRcXUVTLF8dcVhgzLUgNyuV\n 2YSg8AMTnO//YmBge/uQ6IqvRBwqsYwajvWkpxV3doFd57fajmd8jBXP2r/u7M4Mc7FEM3rZW0s\n SmHPkA08LJBeMAFJQsuwDC+bnbDFN+I0OWLNdI+/3Ko2mHhQZYwuvpQLlNdZCz3Qmo1XNkRnHKN\n 5JoPZGpIfmcBLfj6nygSmf1uWcxoP92xGPUWVOjlHlTjO+19mHgKgNZw3uN3lsZ+G/T+YXloBaD\n 4oj/koxybHop2exdfdA==","X-Proofpoint-GUID":"IoLFeeLMDz9jeT1ufKRCTFK2aIEYVc9u","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-05-07_02,2026-05-06_01,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n impostorscore=0 malwarescore=0 phishscore=0 clxscore=1015 spamscore=0\n priorityscore=1501 adultscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605070209","Received-SPF":"pass client-ip=205.220.180.131;\n envelope-from=pierrick.bouvier@oss.qualcomm.com;\n helo=mx0b-0031df01.pphosted.com","X-Spam_score_int":"-27","X-Spam_score":"-2.8","X-Spam_bar":"--","X-Spam_report":"(-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,\n 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"}}]