From patchwork Tue Dec 3 09:10:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 846940 Delivered-To: patch@linaro.org Received: by 2002:a5d:44cd:0:b0:385:e875:8a9e with SMTP id z13csp371939wrr; Tue, 3 Dec 2024 01:11:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW7/AH9yvXe6ZWVf3Z49eW1Uq8LAenvxe7TqUNs7wG2jaOZ1SHW75i8ec/luhoEH+CBfH+9Sw==@linaro.org X-Google-Smtp-Source: AGHT+IEcr9guThwA/qwP3P/06/eiVfmDkkDUSglLOOfWmIqThR7YEu2GGMo9zeR4SDpz/JpukY4w X-Received: by 2002:a05:6902:20c7:b0:e38:b889:7eff with SMTP id 3f1490d57ef6-e39d39e66aemr1754572276.6.1733217118568; Tue, 03 Dec 2024 01:11:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733217118; cv=none; d=google.com; s=arc-20240605; b=RkgOehh7b55s3k656C8YqAD1ReB6y0FPatQJjebt9TgfPrZj1qunb6LxcrJmOrbk41 AwUhfK6J2TJ2btJq6piEM03nkNkeC1nMW6SnewdBg4EeaE09t+XTlbpnPkW+ilHSuP3D uUImnMOkUU/9uAYg5IvYVm2uvVTKd1k+1XukeAz1VtF2FDG9O5+DbTDb2OY0QDGZdVsy RLp7DWGDU3L3XPpPfPc88EyfgL7x74F1X2+ATSL+qhCFxst7aBQ1Re9hX5LAuNhXAK1v rPpwQc3JPS7Z8FIPqXWuvbc1CaJIHo5tvQeZsWVPoh59caA0LgcDipcT6y4BapgQgT0D b3hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=I4bHh0kKdBtmzzcHdsRt/PoJrfV1LywQT2NnEsM64kA=; fh=a0zgXOyw3Ng4Zt0rwfeCzWYiRmTLfbnxJXMDvcNs5iY=; b=kXdOQyaPYkVrh5TnIeX7/wg1rePNXuw7ZSc+dD8Ea/TdWS7g8BPD4r5lPF3tFdvS0o KCTsy5hCypbvQg2XaJT039+IWBnLKxGp978TPoBpGTlR8qczR/gKIBg4WgStpGKdKSAI +iTdZFAOPeruBu7s0HxNvqunmuAwcGgDf4H5SfzuuHj3bPxfxHKHsuBVIeNppfmmz9n0 zAV/6S4e8eRCC6+IdhLOYQH6uXW3v5lOqlBPLfp4s0+ik+3lXQWieOhBlgBqxE/IV+Xg JIF5ouS85b6waXvJnAxubUHJ/X0362JGYa/Ca+kkCFz1Q8rr2mEE28SCBqH2uKQxwSiu lXiQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SvmMLTrt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-466c406e006si135827951cf.180.2024.12.03.01.11.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Dec 2024 01:11:58 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=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=@linaro.org header.s=google header.b=SvmMLTrt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIOvj-0001eW-7g; Tue, 03 Dec 2024 04:10:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIOvh-0001eN-TY for qemu-devel@nongnu.org; Tue, 03 Dec 2024 04:10:49 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIOvg-0001Fc-DK for qemu-devel@nongnu.org; Tue, 03 Dec 2024 04:10:49 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-434a2033562so42920165e9.1 for ; Tue, 03 Dec 2024 01:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733217046; x=1733821846; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I4bHh0kKdBtmzzcHdsRt/PoJrfV1LywQT2NnEsM64kA=; b=SvmMLTrtExMM7g2qrGIRQOr4NfFrLrwSrfemzCtP+aNyITAsofNMEuid/R8Ft5L6Mo KUVJukG7eTjHcFPMdgUw3IpHquPQ961Vildq4k/TP8dA+U/h5zo8eu4wobDhJiPRYBLJ v/YPIW+SeWiISkNQ7GjNhj7MDFZ16gcFyhY++QKdWMaucb30BieZSrW+lC3HWYCpT3VM mC4nHLinjyE/3Cjz+Saejlb2bsqUtpuY94+KRD/V65/UOhg2k93J0eXGJm6inkCgZnOG 7RSdIBHNXeJC8T66/O7al576WgcSCgsgTc40432VAcr6LnhKSVSgIyp3VsCfgqkvO/k6 wS5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733217046; x=1733821846; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I4bHh0kKdBtmzzcHdsRt/PoJrfV1LywQT2NnEsM64kA=; b=CmJN+ZHRWXyPLb+j1saMlXh/a2aDC0Kkw7izrjmKXezoyCsf025Mw2KAVAwb+jajjs QT48UC9Av7nRlg38feHWtbPXkWRKAYxU2UJtiZi1c18daq+CKgmOXk9gVExarExLj5Bk D0Uz+nAtertuMNkG3VFi6HO31PjJl3VIa8ZDOyBDVe4DaVtwC1YFZQYE+VBWIfJD7lHh Zgb30Hg3GhUF8FBFfFu/sY0BCVHkX2z6vJs4hmK8QiPk6wpiDxVYeM3qla2qbMm3sNMn c3P1ctD5OMx1DrhAuCToeY25H7sG7QtP8ORm8BpxR9Vhxvbiz/dHz1a/otkwroI1xEF1 xszw== X-Gm-Message-State: AOJu0Yy4dDerX5boA04rA1eJiK2Wz8IsXsqcU3wsE/Cg7D10MXI0XRZw A/1Hxi6uGVwQgZkPC6XdHuGoJ8KXpFP7sUbUUYBLwev3XRHC4VAZHJ6Gf04D2dZMlgrC6kuDitF Z0O0= X-Gm-Gg: ASbGncuwizgaSiueTvk/lHf8NtEXG9YO6FujmujH2yZ3M5vyqeVyildxhx64yUKKFCN ExxH2LQYbf9zbi5WMeYP3BbH8UWBZgf45dhZy8s2HAdPTT3YvxrbdIGMpYYQqmRZ0jmQUbHIKbb oRQEUj8u9QqQoEhWAf2o8dIVf2ryyEaQda2/T4i0Nll2CUOL3Y/WKna+tS+e4KoxIwz/ZoGjvQj ImFAWP9wZwhIpDqZqeV7Z+THTtFaQEcc7bydCPBBQPUHMbU9h29Y8vjJpakqgLmCf1/xfgl X-Received: by 2002:a05:600c:19d2:b0:434:9dfe:20e6 with SMTP id 5b1f17b1804b1-434d0a03be0mr12522245e9.23.1733217046193; Tue, 03 Dec 2024 01:10:46 -0800 (PST) Received: from localhost.localdomain ([176.187.209.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434b0d9bc5asm180591495e9.2.2024.12.03.01.10.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 03 Dec 2024 01:10:45 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Thomas Huth , Zhao Liu , Eduardo Habkost , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , =?utf-8?q?Phi?= =?utf-8?q?lippe_Mathieu-Daud=C3=A9?= , Yanan Wang , Markus Armbruster Subject: [PATCH-for-9.2? v2 1/2] tests/functional/test_version: Use QTest accelerator Date: Tue, 3 Dec 2024 10:10:35 +0100 Message-ID: <20241203091036.59898-2-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241203091036.59898-1-philmd@linaro.org> References: <20241203091036.59898-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org When testing with a HVF-only binary, we get: 3/12 qemu:func-quick+func-aarch64 / func-aarch64-version ERROR 0.29s exit status 1 stderr: Traceback (most recent call last): File "tests/functional/test_version.py", line 22, in test_qmp_human_info_version self.vm.launch() File "machine/machine.py", line 461, in launch raise VMLaunchFailure( qemu.machine.machine.VMLaunchFailure: ConnectError: Failed to establish session: EOFError Exit code: 1 Command: build/qemu-system-aarch64 -display none -vga none -chardev socket,id=mon,fd=5 -mon chardev=mon,mode=control -machine none -nodefaults Output: qemu-system-aarch64: No accelerator selected and no default accelerator available Explicit the QTest accelerator to be able to run the HMP command. Signed-off-by: Philippe Mathieu-Daudé --- tests/functional/test_version.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/test_version.py b/tests/functional/test_version.py index 3ab3b67f7e3..d3da796991f 100755 --- a/tests/functional/test_version.py +++ b/tests/functional/test_version.py @@ -18,6 +18,7 @@ class Version(QemuSystemTest): def test_qmp_human_info_version(self): self.set_machine('none') + self.vm.add_args('-accel', 'qtest') self.vm.add_args('-nodefaults') self.vm.launch() res = self.vm.cmd('human-monitor-command', From patchwork Tue Dec 3 09:10:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 846939 Delivered-To: patch@linaro.org Received: by 2002:a5d:44cd:0:b0:385:e875:8a9e with SMTP id z13csp371934wrr; Tue, 3 Dec 2024 01:11:57 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW68wAg6THh1g46pdR5aL1qzxvNoUn0Eoee+/rRRnxcWsYnFm50NX/z/HtelyOq4m/fJDOvFQ==@linaro.org X-Google-Smtp-Source: AGHT+IFJBhwJ2FvoECVU9ZSxwix7RrlHgUOjlC/HehRQxzuVXLKpyKBTDUu6h/7ziKw7MXqPktIF X-Received: by 2002:a05:6102:3ed0:b0:4af:4b03:4b8 with SMTP id ada2fe7eead31-4af971d8d15mr2382174137.7.1733217117483; Tue, 03 Dec 2024 01:11:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733217117; cv=none; d=google.com; s=arc-20240605; b=FO73gnb9Fsg3/ArtitZd/g/uIUIJg2/itj9aZh4lD/S684bmd7I1c83G3dO9nayGdn xYEDV2uCwOiVM8vchZECG8vVOWs47qkYc+nYR74Vj4zzmhMt7KfLMRNSSRW276QDEDM3 itQmsz4wSlAZB0my/CxwrDLqU90Dtrd44F2j+pe/lxRhSsI4Djm4RGGDAwidDd8qqfP4 N6kGWGT6ObYf3W+Npkyo/IlO2nomSRhEfuoQztsElEkHa0Z3fR7kktmwek7mjIEt01jX KOTnDxjcV5cMSjdF8bBUZrkZYropgSp1CWDb4ieUvvmFZAMUbPjppL4toxgjJiGiFhWr 2TUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Zklyya5OkEnNrhger6hBnXU3zSz+e7zU5Eu5GV2az4Q=; fh=a0zgXOyw3Ng4Zt0rwfeCzWYiRmTLfbnxJXMDvcNs5iY=; b=Fs6hrnl+zkxVmWoirHg9VHHiTqao1P54tUOFXvuGbaSOdZWegCe1eyvoDuxnjTtZr/ AkoQD/hLvFsd/3fecOR3qE1td1w7ByFpF/UcqgfVnUNqFZokNvMYRpDbLP22L+lY83Qn U5VOcYkwzyJKFi7QpuboB6yeiHhlaA2gOTt18dGMq6DIWzlsq/5Pjvl5FROK3cPfBsJf QJVnnueqCPr1sCLA1/BAoLWZVrTejy+WrXPJYSi3WZ9XetnY0HSn3OPxhDVin1dTLqwT m65LFrqZNkcuB3pEpgshnHzT2STI5yygMEMp6tgTVsSPw0EE3Z0uP0VAz/IEnXkYc1kw 0FZw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vvgpGq9g; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d899613322si75589116d6.512.2024.12.03.01.11.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Dec 2024 01:11:57 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=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=@linaro.org header.s=google header.b=vvgpGq9g; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIOvp-0001fO-E7; Tue, 03 Dec 2024 04:10:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIOvn-0001f0-MQ for qemu-devel@nongnu.org; Tue, 03 Dec 2024 04:10:55 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIOvm-0001GH-5d for qemu-devel@nongnu.org; Tue, 03 Dec 2024 04:10:55 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4349f160d62so44859985e9.2 for ; Tue, 03 Dec 2024 01:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733217052; x=1733821852; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Zklyya5OkEnNrhger6hBnXU3zSz+e7zU5Eu5GV2az4Q=; b=vvgpGq9gfh6sO+W6Pv4O2TWZaT8QqNsENAyPeW4halmr8r85gS+0SHxgvZXHm0hyhK uxO0ByW480/Lxt4ro6ceF81jx18trJqN1IqQjIYJoROilo0LOLYut1Zv4ae39rqXN/h4 SFPfoX//RTizFAJ2BB4v1/cX4IIDdw20YNt2Q0evDhxxgQjwcsxJuJXyak6BNAOGC89C Hga/Cf9nvuDWnwhdv4nHuaehnu4EiMTCKjMzwjOPR75qNLN4wUkqnNoZR9iegG5+AMzU 4oIG3219gwWZrpGrElg4adUFCvq9wcnPDXndHEb3UoZb2yi6Ny1JxeGIJWuMgSqJYDNZ YxZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733217052; x=1733821852; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zklyya5OkEnNrhger6hBnXU3zSz+e7zU5Eu5GV2az4Q=; b=KEI9Jlkvpb0JUgK0Z2X5fMMefgnYUGZyRa4fkrWxFWvtpAON3jUFAdxWBmjIs0xjO4 5mQ95sKx27RUuwPMm59vrlIEx2vbYS3iTTD29wGQ4BSOrFaF0Zj2FmsTCHM5bLJmuR8t 3Kgpx4o0AUlCIGUZMkWZ6rPoGois+pLSC/Vp1swbJO3yssmDWf+ISkyBd9JGhjjXG97G cgy8ZFUgSc5VmtMtIiVabR5SYx+hXmc4R+D0rO6MQfaslTctBjVKq9JLXq2l0lYEm1ch zsmp6QORaav5qtvJ6swUGbdrZJ67ot6GHirPq8/0m1qc2WWkUNIvIwJH9PS8t8g6tIhw JcVw== X-Gm-Message-State: AOJu0YzjbblISKANe+RPfQ1avCMe4rsA1zp+/pVHxO4hea7AkYtHuvx7 P8DiCQx+bcxkS53pWBuN6493s8krj6cyXmNXvLapi2rpG2Ke1VHmhtIP6N0QvOLBIkSf3OKrshZ hmtk= X-Gm-Gg: ASbGnctbgHau4jnhfN7Ucr1qzWvgIL6qUi42wAPv+29u8SPwd/DxFRH/SgsrvxLoogc 7j35yGVnwo2gvKIMyf1cTpdHVe6ftoL0EayFVARuMWpCRibHEPpojtda8wnhxufnQIfv5MK6ElP oCr/bt4kBEH254ERtU9KpAh2NSEaU1t0zoP1fRjt/E4o0i/MRVuoBGf7OuSjmHzlDKGg+FoG3fa l9OoTZ7byowyQj+eddNPRYeOIfgf2pqUe3T14dRy5J46jYfUzVEjvmBBRjRc5eH1dSjh8vA X-Received: by 2002:a05:600c:1c07:b0:434:9c1b:b36a with SMTP id 5b1f17b1804b1-434d09bf7b4mr15037615e9.13.1733217052265; Tue, 03 Dec 2024 01:10:52 -0800 (PST) Received: from localhost.localdomain ([176.187.209.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa7d21bcsm217075815e9.30.2024.12.03.01.10.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 03 Dec 2024 01:10:51 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Thomas Huth , Zhao Liu , Eduardo Habkost , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , =?utf-8?q?Phi?= =?utf-8?q?lippe_Mathieu-Daud=C3=A9?= , Yanan Wang , Markus Armbruster Subject: [PATCH-for-9.2? v2 2/2] tests/functional/test_empty_cpu_model: Use QTest accelerator Date: Tue, 3 Dec 2024 10:10:36 +0100 Message-ID: <20241203091036.59898-3-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241203091036.59898-1-philmd@linaro.org> References: <20241203091036.59898-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org When testing with a HVF-only binary, we get: 3/12 qemu:func-quick+func-aarch64 / func-aarch64-empty_cpu_model ERROR 0.62s exit status 1 stderr: Traceback (most recent call last): File "tests/functional/test_empty_cpu_model.py", line 21, in test self.assertRegex(self.vm.get_log(), r'-cpu option cannot be empty') AssertionError: Regex didn't match: '-cpu option cannot be empty' not found in 'qemu-system-aarch64: No accelerator selected and no default accelerator available\n' Explicit the QTest accelerator to be able to run the test. Signed-off-by: Philippe Mathieu-Daudé --- tests/functional/test_empty_cpu_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/test_empty_cpu_model.py b/tests/functional/test_empty_cpu_model.py index 0081b06d85a..e3bca707af9 100755 --- a/tests/functional/test_empty_cpu_model.py +++ b/tests/functional/test_empty_cpu_model.py @@ -13,6 +13,7 @@ class EmptyCPUModel(QemuSystemTest): def test(self): + self.vm.add_args('-accel', 'qtest') self.vm.add_args('-S', '-display', 'none', '-machine', 'none', '-cpu', '') self.vm.set_qmp_monitor(enabled=False) self.vm.launch()