qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] boot-serial-test: use -no-shutdown


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] boot-serial-test: use -no-shutdown
Date: Fri, 24 Mar 2017 14:14:43 +0000

On 24 March 2017 at 13:19, Christian Borntraeger <address@hidden> wrote:
> a qemu with an empty s390 guest will exit very quickly. This races
> against the testsuite reading from the console pipe leading to
> intermittent test suite failures. Using -no-shutdown will keep
> the guest running.
>
> Fixes: 864111f422ba (vl: exit qemu on guest panic if -no-shutdown is not set)
> Reported-by: Peter Maydell <address@hidden>
> Signed-off-by: Christian Borntraeger <address@hidden>
> ---
>  tests/boot-serial-test.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c
> index 57edf6a..11f48b0 100644
> --- a/tests/boot-serial-test.c
> +++ b/tests/boot-serial-test.c
> @@ -79,8 +79,8 @@ static void test_machine(const void *data)
>      g_assert(fd != -1);
>
>      args = g_strdup_printf("-M %s,accel=tcg -chardev file,id=serial0,path=%s"
> -                           " -serial chardev:serial0 %s", test->machine,
> -                           tmpname, test->extra);
> +                           " -no-shutdown -serial chardev:serial0 %s",
> +                           test->machine, tmpname, test->extra);
>
>      qtest_start(args);
>      unlink(tmpname);

Applied to master, thanks. Let's see if this fixes the travis flapping...

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]