From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CBCD7C79F99 for ; Sun, 6 Sep 2026 08:43:52 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x38Sn-00044L-OH; Sun, 06 Sep 2026 04:42:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x38Sm-000447-OX for qemu-devel@nongnu.org; Sun, 06 Sep 2026 04:42:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x38Sl-00083n-2o for qemu-devel@nongnu.org; Sun, 06 Sep 2026 04:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788684174; 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=N2rvNY4HfCB1s4nnNqgZ4NoEePPcvl+BRZFxlaqR058=; b=Z0DxE6Hv/ObI4/v7kJwI4LvBOjaWZhBqAzCp9EkH6dW4nGAZyQiFBU6wECivWSEptu8zOB VsOeewD6/gAKX8R38X0wvyQFhBXhDJY8hjGmYI0dVNlGFyd0FXh3hMbZCY1kkZEQ1JgN6W 00sk7IOL1YmYfBiXDfT4NK12q7/Gj+0= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-441-cXCFcQdXPX-B-vTCcP6OSw-1; Sun, 06 Sep 2026 04:42:51 -0400 X-MC-Unique: cXCFcQdXPX-B-vTCcP6OSw-1 X-Mimecast-MFC-AGG-ID: cXCFcQdXPX-B-vTCcP6OSw_1788684169 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0336318011EC; Sun, 6 Sep 2026 08:42:49 +0000 (UTC) Received: from localhost (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9D5F11956056; Sun, 6 Sep 2026 08:42:46 +0000 (UTC) From: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= Date: Sun, 06 Sep 2026 12:42:33 +0400 Subject: [PATCH 2/9] tests/functional: replace HMP with QMP MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20260906-nohmp-v1-2-daee96491c43@redhat.com> References: <20260906-nohmp-v1-0-daee96491c43@redhat.com> In-Reply-To: <20260906-nohmp-v1-0-daee96491c43@redhat.com> To: qemu-devel@nongnu.org Cc: John Snow , "Denis V. Lunev" , Fabiano Rosas , Laurent Vivier , Paolo Bonzini , qemu-block@nongnu.org, Peter Maydell , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Aurelien Jarno , qemu-arm@nongnu.org, Halil Pasic , Christian Borntraeger , Eric Farman , Matthew Rosato , Cornelia Huck , qemu-s390x@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Glenn Miles , qemu-ppc@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= X-Developer-Signature: v=1; a=openpgp-sha256; l=2972; i=marcandre.lureau@redhat.com; h=from:subject:message-id; bh=Z9E2BtIcfNeU3QgCE1FrbeWBRNl/CIXdaah4L/q8HCQ=; b=owEBbQKS/ZANAwAKAdro4Ql1lpzlAcsmYgBqnSd5HItaQuLUuAZp0v0yNhJFPj0OLP7xgsltb mOnASQ8TW+JAjMEAAEKAB0WIQSHqb2TP4fGBtJ29i3a6OEJdZac5QUCap0neQAKCRDa6OEJdZac 5fUeD/9xln3vdFSeHglaMAN4U8ldyCbSomNhwG/XdRk3rEgagp8n13S08wblOp7tKDxvf07MWwO bgbO+9LwGJGHJOFT5a3w3wnVwwyuf3AeF3YeUwHCeEVDXBCFf5+OhWbiHCFjkOr7eH8vvDBAZlL +TwMgfqgxW7Ul9yGV1WdTRS4cpojCduPLH09OihzAq82HPdZjKK+UWgenCo50ZR8bbtjORdZTL3 n9fV17uaHT7Hznl7uQ01mhH2Kakjye9mua804qmc1hpl8qskW3eqQ5WnwltDJQT4f3Xvi1F4Tsr AkGBHscUDjL0oKJXuCpnhkHg/LTxF0o+LtRZgAGFIND6yVX5kaudB1fu27qCwoeOXAou7H4O1zn ljyVrl7O6wM9Z40Nk2CP6u0HBc21h7LJz4ME8RB5v2g0NfPRvFCKUr8D7MXFzoZ0w5Dx29Gl1bi 7k6W7+O3gOSLFcXV7cgDBRm/GkLXGimKuhHtX3/pg+tPr/2AK3e+tMryUjZBrxZ+f1ejnJjsiP1 5g04gJKwFhrkNBFcgzH5W6ZHCu9KA7tc8S6vxYYEuQ8euEJWgPn0/EAHQyJ6M3w5ikJyGoHgC5p lp+wu8nfRIUanPr7LS8DHkaToP558HgSq4LCxLezYmAE6is2b74LBvNsr97NHtPwRQqFGO4XT9n 3q0fPaJW5C03kaw== X-Developer-Key: i=marcandre.lureau@redhat.com; a=openpgp; fpr=87A9BD933F87C606D276F62DDAE8E10975969CE5 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Received-SPF: pass client-ip=170.10.129.124; envelope-from=marcandre.lureau@redhat.com; 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Replace HMP with QMP equivalent. Signed-off-by: Marc-André Lureau --- tests/functional/arm/test_integratorcp.py | 7 ++----- tests/functional/m68k/test_nextcube.py | 5 +---- tests/functional/mips64el/test_malta.py | 7 ++----- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/tests/functional/arm/test_integratorcp.py b/tests/functional/arm/test_integratorcp.py index 23ae919359d5..fefed26266f4 100755 --- a/tests/functional/arm/test_integratorcp.py +++ b/tests/functional/arm/test_integratorcp.py @@ -72,11 +72,8 @@ def test_framebuffer_tux_logo(self): self.boot_integratorcp() framebuffer_ready = 'Console: switching to colour frame buffer device' wait_for_console_pattern(self, framebuffer_ready) - self.vm.cmd('human-monitor-command', command_line='stop') - res = self.vm.cmd('human-monitor-command', - command_line='screendump %s' % screendump_path) - if 'unknown command' in res: - self.skipTest('screendump not available') + self.vm.cmd('stop') + self.vm.cmd('screendump', filename=screendump_path) cpu_count = 1 match_threshold = 0.92 diff --git a/tests/functional/m68k/test_nextcube.py b/tests/functional/m68k/test_nextcube.py index d917cf5424fe..dc99962eb75c 100755 --- a/tests/functional/m68k/test_nextcube.py +++ b/tests/functional/m68k/test_nextcube.py @@ -39,10 +39,7 @@ def check_bootrom_framebuffer(self, screenshot_path): break time.sleep(0.1) - res = self.vm.cmd('human-monitor-command', - command_line=f"screendump {screenshot_path}") - if 'unknown command' in res: - self.skipTest('screendump not available') + self.vm.cmd('screendump', filename=screenshot_path) @skipIfMissingImports("PIL") def test_bootrom_framebuffer_size(self): diff --git a/tests/functional/mips64el/test_malta.py b/tests/functional/mips64el/test_malta.py index 163bbaf5ca36..ba966d1bf9f4 100755 --- a/tests/functional/mips64el/test_malta.py +++ b/tests/functional/mips64el/test_malta.py @@ -154,11 +154,8 @@ def do_test_i6400_framebuffer_logo(self, cpu_cores_count): self.vm.launch() framebuffer_ready = 'Console: switching to colour frame buffer device' self.wait_for_console_pattern(framebuffer_ready) - self.vm.cmd('human-monitor-command', command_line='stop') - res = self.vm.cmd('human-monitor-command', - command_line=f'screendump {screendump_path}') - if 'unknown command' in res: - self.skipTest('screendump not available') + self.vm.cmd('stop') + self.vm.cmd('screendump', filename=screendump_path) match_threshold = 0.95 screendump_bgr = cv2.imread(screendump_path, cv2.IMREAD_COLOR) -- 2.55.0.543.g5ebe2ebe4ea8