qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: Thomas Huth <thuth@redhat.com>,
	qemu-devel@nongnu.org, Juan Quintela <quintela@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Emilio G. Cota" <cota@braap.org>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Wei Huang" <wei@redhat.com>,
	david@redhat.com, "Cornelia Huck" <cohuck@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] tests/migration-test: Disable s390x test when running with TCG
Date: Fri, 19 Oct 2018 13:14:57 +0200	[thread overview]
Message-ID: <4837dc8a-c4a7-9bd8-649a-3b35b0fe20fa@redhat.com> (raw)
In-Reply-To: <1539946806-695-1-git-send-email-thuth@redhat.com>

On 19/10/2018 13:00, Thomas Huth wrote:
> The migration test for s390x sometimes hangs when running with TCG,
> similar to the problems that we have already observed with TCG for
> the ppc64 guests. Thus disable the s390x test when we are not running
> with KVM for now until the problem with TCG has been resolved.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  tests/migration-test.c | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/tests/migration-test.c b/tests/migration-test.c
> index b792025..06ca506 100644
> --- a/tests/migration-test.c
> +++ b/tests/migration-test.c
> @@ -803,6 +803,22 @@ int main(int argc, char **argv)
>          return 0;
>      }
>  
> +    /*
> +     * Similar to ppc64, s390x seems to be touchy with TCG, so disable it
> +     * there until the problems are resolved
> +     */
> +    if (g_str_equal(qtest_get_arch(), "s390x")) {
> +#if defined(HOST_S390X)
> +        if (access("/dev/kvm", R_OK | W_OK)) {
> +            g_test_message("Skipping test: kvm not available");
> +            return 0;
> +        }
> +#else
> +        g_test_message("Skipping test: Need s390x host to work properly");
> +        return 0;
> +#endif
> +    }
> +
>      tmpfs = mkdtemp(template);
>      if (!tmpfs) {
>          g_test_message("mkdtemp on path (%s): %s\n", template, strerror(errno));
> 

Reviewed-by: Laurent Vivier <lvivier@redhat.com>

  reply	other threads:[~2018-10-19 11:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-19 11:00 [Qemu-devel] [PATCH] tests/migration-test: Disable s390x test when running with TCG Thomas Huth
2018-10-19 11:14 ` Laurent Vivier [this message]
2018-10-19 14:10   ` Emilio G. Cota

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=4837dc8a-c4a7-9bd8-649a-3b35b0fe20fa@redhat.com \
    --to=lvivier@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=cota@braap.org \
    --cc=david@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=thuth@redhat.com \
    --cc=wei@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).