qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>, qemu-devel@nongnu.org
Cc: philmd@redhat.com, qemu-s390x <qemu-s390x@nongnu.org>,
	wrampazz@redhat.com, crosa@redhat.com, pbonzini@redhat.com,
	alex.bennee@linaro.org
Subject: Re: [PATCH v2 1/6] tests/acceptance: add replay kernel test for s390
Date: Fri, 25 Jun 2021 09:20:57 +0200	[thread overview]
Message-ID: <5fff8b80-b761-b5c6-c79f-b606f2e1adac@redhat.com> (raw)
In-Reply-To: <162459954368.387455.15333719740993319179.stgit@pasha-ThinkPad-X280>

On 25/06/2021 07.39, Pavel Dovgalyuk wrote:
> This patch adds record/replay test which boots Linux
> kernel on s390x platform. The test uses kernel binaries
> taken from boot_linux_console test.
> 
> Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
> Reviewed-by: Willian Rampazzo <willianr@redhat.com>
> ---
>   tests/acceptance/replay_kernel.py |   16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
> 
> diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_kernel.py
> index 71facdaa75..cdc22cb6d3 100644
> --- a/tests/acceptance/replay_kernel.py
> +++ b/tests/acceptance/replay_kernel.py
> @@ -208,6 +208,22 @@ def test_arm_cubieboard_initrd(self):
>                             '-initrd', initrd_path,
>                             '-no-reboot'))
>   
> +    def test_s390x_s390_ccw_virtio(self):
> +        """
> +        :avocado: tags=arch:s390x
> +        :avocado: tags=machine:s390-ccw-virtio
> +        """
> +        kernel_url = ('https://archives.fedoraproject.org/pub/archive'
> +                      '/fedora-secondary/releases/29/Everything/s390x/os/images'
> +                      '/kernel.img')
> +        kernel_hash = 'e8e8439103ef8053418ef062644ffd46a7919313'
> +        kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
> +
> +        kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=sclp0'
> +        console_pattern = 'Kernel command line: %s' % kernel_command_line
> +        self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=9,
> +            args=('-nodefaults', '-smp', '1'))

I guess you could drop the "-smp 1" since one CPU is the default anyway.

Anyway,
Acked-by: Thomas Huth <thuth@redhat.com>



  reply	other threads:[~2021-06-25  7:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-25  5:38 [PATCH v2 0/6] More record/replay acceptance tests Pavel Dovgalyuk
2021-06-25  5:39 ` [PATCH v2 1/6] tests/acceptance: add replay kernel test for s390 Pavel Dovgalyuk
2021-06-25  7:20   ` Thomas Huth [this message]
2021-06-25  5:39 ` [PATCH v2 2/6] tests/acceptance: add replay kernel test for ppc64 Pavel Dovgalyuk
2021-07-05 17:46   ` Willian Rampazzo
2021-07-06  4:27     ` Pavel Dovgalyuk
2021-06-25  5:39 ` [PATCH v2 3/6] tests/acceptance: add replay kernel test for openrisc Pavel Dovgalyuk
2021-06-25  5:39 ` [PATCH v2 4/6] tests/acceptance: add replay kernel test for nios2 Pavel Dovgalyuk
2021-06-25  5:39 ` [PATCH v2 5/6] tests/acceptance: add replay kernel test for alpha Pavel Dovgalyuk
2021-06-25  5:39 ` [PATCH v2 6/6] tests/acceptance: Linux boot test for record/replay Pavel Dovgalyuk

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=5fff8b80-b761-b5c6-c79f-b606f2e1adac@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=crosa@redhat.com \
    --cc=pavel.dovgalyuk@ispras.ru \
    --cc=pbonzini@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=wrampazz@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).