From: Paolo Bonzini <pbonzini@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>,
Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>
Cc: "Cornelia Huck" <cornelia.huck@de.ibm.com>,
"Thomas Huth" <thuth@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Alexander Graf" <agraf@suse.de>,
"Richard Henderson" <rth@twiddle.net>
Subject: Re: [Qemu-devel] qemu-system-s390x tests/boot-serial-test intermittent failure
Date: Fri, 24 Mar 2017 12:48:38 +0100 [thread overview]
Message-ID: <ede74d2f-e6fc-4459-2c58-98c2c8c47fcf@redhat.com> (raw)
In-Reply-To: <ff8093ef-78ee-b2ab-99d4-6957cbeac07d@de.ibm.com>
On 24/03/2017 12:11, Christian Borntraeger wrote:
> One idea. Maybe qemu exits before the other side is ready.
> Does reverting
>
> commit 864111f422babcf8ce837fb47f7f9e1948446f22
> Author: Christian Borntraeger <borntraeger@de.ibm.com>
> AuthorDate: Tue Oct 18 09:29:54 2016 +0200
> Commit: Paolo Bonzini <pbonzini@redhat.com>
> CommitDate: Wed Nov 2 09:28:56 2016 +0100
>
> vl: exit qemu on guest panic if -no-shutdown is not set
>
> help?
Didn't test, but this:
> If yes, does
> 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);
>
> also help?
seems to help (survives about 1 minute, while usually it fails in a few
seconds).
Paolo
next prev parent reply other threads:[~2017-03-24 11:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-24 10:57 [Qemu-devel] qemu-system-s390x tests/boot-serial-test intermittent failure Peter Maydell
2017-03-24 11:11 ` Christian Borntraeger
2017-03-24 11:26 ` Thomas Huth
2017-03-24 11:37 ` Peter Maydell
2017-03-24 11:48 ` Paolo Bonzini [this message]
2017-03-24 11:50 ` Peter Maydell
2017-03-24 12:56 ` Peter Maydell
2017-03-24 13:02 ` Christian Borntraeger
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=ede74d2f-e6fc-4459-2c58-98c2c8c47fcf@redhat.com \
--to=pbonzini@redhat.com \
--cc=agraf@suse.de \
--cc=alex.bennee@linaro.org \
--cc=borntraeger@de.ibm.com \
--cc=cornelia.huck@de.ibm.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.