qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Thomas Huth <thuth@redhat.com>,
	qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	Stefan Hajnoczi <stefanha@gmail.com>
Cc: Helge Deller <deller@gmx.de>,
	Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PATCH] tests/functional: Use -no-shutdown in the hppa_seabios test
Date: Fri, 9 May 2025 10:22:18 +0200	[thread overview]
Message-ID: <d55583c6-8366-4ec1-b657-73ed050f04c2@linaro.org> (raw)
In-Reply-To: <20250508180918.228757-1-thuth@redhat.com>

On 8/5/25 20:09, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> qemu-system-hppa shuts down automatically when the BIOS is
> unable to boot from any device. So this test currently fails
> occasionally when QEMU already quit, but the test still
> expected it to be around (e.g. to shut it down cleanly).
> Adding a "-no-shutdown" seems to make it reliable.
> While we're at it, also remove the stray "self.machine" in
> there that does not have any purpose.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   tests/functional/test_hppa_seabios.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/functional/test_hppa_seabios.py b/tests/functional/test_hppa_seabios.py
> index a44d1a3eebe..661b2464e13 100755
> --- a/tests/functional/test_hppa_seabios.py
> +++ b/tests/functional/test_hppa_seabios.py
> @@ -17,9 +17,9 @@ class HppaSeabios(QemuSystemTest):
>       def boot_seabios(self):
>           mach = self.machine
>           bits = self.MACH_BITS[mach]
> +        self.vm.add_args('-no-shutdown')
>           self.vm.set_console()
>           self.vm.launch()
> -        self.machine

Oops, thanks =)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



      parent reply	other threads:[~2025-05-09  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-08 18:09 [PATCH] tests/functional: Use -no-shutdown in the hppa_seabios test Thomas Huth
2025-05-08 18:22 ` Daniel P. Berrangé
2025-05-09  8:22 ` Philippe Mathieu-Daudé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d55583c6-8366-4ec1-b657-73ed050f04c2@linaro.org \
    --to=philmd@linaro.org \
    --cc=deller@gmx.de \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanha@gmail.com \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).