From: Thomas Huth <thuth@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>, Kevin Wolf <kwolf@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
Hanna Reitz <hreitz@redhat.com>,
Qemu-block <qemu-block@nongnu.org>
Subject: Re: how do the iotests pick a machine model to run on ?
Date: Mon, 25 Mar 2024 18:05:57 +0100 [thread overview]
Message-ID: <8daafae0-7751-45e7-bc4f-d9a825ceec70@redhat.com> (raw)
In-Reply-To: <CAFEAcA-PKwFOj6=H+v=8B-xMg0=vUPf0gE8-=3N2N1XY1TLDog@mail.gmail.com>
On 19/01/2024 17.18, Peter Maydell wrote:
> On Fri, 19 Jan 2024 at 15:26, Peter Maydell <peter.maydell@linaro.org> wrote:
>> (Also, we should probably put an entry for sh4 in machine_map,
>> because the default board type (shix) is about to be deprecated,
>> and the r2d board type is thus a better choice.)
>
> The good news is if we add r2d to the machine_map, then
> only 3 iotests fail:
>
> 191 -- not sure exactly what's going on. QEMU complains
> "machine type does not support if=ide,bus=0,unit=1".
> Side note: the test harness seems to throw away the
> stderr from QEMU with this error message, leaving the
> test failure log rather uninformative. I had to
> run everything under strace to get hold of it.
> 203 -- this wants a machine type that can be migrated;
> sh4 CPUs don't support migration, so the test
> fails because the 'migrate' command returns the error
> {"error": {"class": "GenericError", "desc": "State blocked by
> non-migratable device 'cpu'"}}
> 267 -- similarly, wants a machine that supports snapshots,
> so fails when the loadvm/savevm get the error
> Error: State blocked by non-migratable device 'cpu'
>
> How should a test indicate "I need a machine type that
> supports migration" ?
We could maybe add a flag to the machine_map to indicate whether the machine
is capable of migration or not. In the latter case, we could skip all tests
that are in the "migration" group ?
Thomas
prev parent reply other threads:[~2024-03-25 17:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 12:55 how do the iotests pick a machine model to run on ? Peter Maydell
2024-01-19 14:06 ` Kevin Wolf
2024-01-19 15:26 ` Peter Maydell
2024-01-19 16:18 ` Peter Maydell
2024-03-25 17:05 ` Thomas Huth [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=8daafae0-7751-45e7-bc4f-d9a825ceec70@redhat.com \
--to=thuth@redhat.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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).