qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Auger <eric.auger@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>, Peter Xu <peterx@redhat.com>
Cc: Fabiano Rosas <farosas@suse.de>,
	qemu-devel@nongnu.org, Sebastian Ott <sebott@redhat.com>
Subject: Re: [PULL 06/15] tests/qtest/migration: Don't use -cpu max for aarch64
Date: Mon, 5 Feb 2024 09:35:41 +0100	[thread overview]
Message-ID: <65beda13-d994-4bb4-8dd3-e01d592f2b7e@redhat.com> (raw)
In-Reply-To: <CAFEAcA-h6BDiY4G1uBymcmmnzagHTvhevb1wXPzwBOwZYM338Q@mail.gmail.com>

Hi,

On 2/2/24 11:51, Peter Maydell wrote:
> On Thu, 1 Feb 2024 at 23:50, Peter Xu <peterx@redhat.com> wrote:
>> Fabiano, I think you forgot to reply-to-all.. adding back the list and
>> people in the loop.
>>
>> On Thu, Feb 01, 2024 at 10:12:44AM -0300, Fabiano Rosas wrote:
>>> Peter Xu <peterx@redhat.com> writes:
>>>
>>>> On Wed, Jan 31, 2024 at 10:09:16AM -0300, Fabiano Rosas wrote:
>>>>> If we ask for KVM and it falls back to TCG, we need a cpu that supports
>>>>> both. We don't have that. I've put some command-line combinations at the
>>>>> end of the email[1], take a look.
>>>> Thanks a lot, Fabiano.  I think I have a better picture now.
>>>>
>>>> Now the question is whether it'll be worthwhile we (migration) explicitly
>>>> provide code to workaround such issue in qtest, or we wait for ARM side
>>>> until we have a processor that can be both stable and support KVM+TCG.
>>>>
>>>> I actually personally prefer to wait - it's not too bad after all, because
>>>> it only affects the new "n-1" migration test.  Most of the migration
>>>> functionality will still be covered there in CI for ARM.
>>> That's fine with me. We just need to do something about the arm CI job
>>> which is currently disabled waiting for a fix. We could remove it or add
>>> some words somewhere explaining the situation. I can do that once we
>>> reach an agreement here.
>> Yes.  IMHO we can keep the test (with SKIPPED=1) but amend the message,
>> which will start to state inaccurately:
>>
>>         # This job is disabled until we release 9.0. The existing
>>         # migration-test in 8.2 is broken on aarch64. The fix was already
>>         # commited, but it will only take effect once 9.0 is out.
>>
>> IMHO then it won't mean 9.0 will have it fixed, but we'll simply wait for a
>> cpu model that is ready for both kvm+tcg, then we replace "max".
> We already have a CPU model that works for both KVM and TCG: that
> is "max". We're not going to add another one. The difference is
> just that we provide different cross-version migration compatibility
> support levels for the two cases. (Strictly speaking, I'm not sure we
> strongly support migration compat for 'max' on KVM either --
> for instance you probably need to be doing a migration on the
> same host CPU type and the same host kernel version. It's just
Yes in general migrating to different kernels will fail. Same for
different pCPU types.
We need CPU models to work around some of those limitations. Adding
Sebastian in copy. He is currently working on this.

Thanks

Eric
> that the definition of "max" on KVM is less QEMU-dependent and
> more host-kernel-dependent, so in your particular situation running
> the test cases you're less likely to see any possible breakage.)
>
> -- PMM
>



  parent reply	other threads:[~2024-02-05  8:36 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26  4:17 [PULL 00/15] Migration 20240126 patches peterx
2024-01-26  4:17 ` [PULL 01/15] userfaultfd: use 1ULL to build ioctl masks peterx
2024-01-26  4:17 ` [PULL 02/15] migration: Plug memory leak on HMP migrate error path peterx
2024-01-26  4:17 ` [PULL 03/15] migration: Make threshold_size an uint64_t peterx
2024-01-26  4:17 ` [PULL 04/15] migration: Drop unnecessary check in ram's pending_exact() peterx
2024-01-26  4:17 ` [PULL 05/15] analyze-migration.py: Remove trick on parsing ramblocks peterx
2024-01-26  4:17 ` [PULL 06/15] tests/qtest/migration: Don't use -cpu max for aarch64 peterx
2024-01-26 14:36   ` Fabiano Rosas
2024-01-26 14:39     ` Peter Maydell
2024-01-26 14:54       ` Fabiano Rosas
2024-01-29  2:51         ` Peter Xu
2024-01-29 12:14           ` Fabiano Rosas
2024-01-29 23:30             ` Fabiano Rosas
2024-01-30 10:18               ` Peter Maydell
2024-01-30 10:48                 ` Peter Xu
2024-01-30 21:23                   ` Fabiano Rosas
2024-01-31  4:04                     ` Peter Xu
2024-01-31 13:09                       ` Fabiano Rosas
2024-02-01  2:56                         ` Peter Xu
     [not found]                           ` <87y1c4ib03.fsf@suse.de>
2024-02-01 23:50                             ` Peter Xu
2024-02-02 10:51                               ` Peter Maydell
2024-02-05  2:56                                 ` Peter Xu
2024-02-12 18:29                                   ` Peter Maydell
2024-02-05  8:35                                 ` Eric Auger [this message]
2024-01-26  4:17 ` [PULL 07/15] ci: Add a migration compatibility test job peterx
2024-01-26  4:17 ` [PULL 08/15] ci: Disable migration compatibility tests for aarch64 peterx
2024-01-26  4:17 ` [PULL 09/15] migration/yank: Use channel features peterx
2024-01-26  4:17 ` [PULL 10/15] migration: Fix use-after-free of migration state object peterx
2024-01-26  4:17 ` [PULL 11/15] migration: Take reference to migration state around bg_migration_vm_start_bh peterx
2024-01-26  4:17 ` [PULL 12/15] migration: Reference migration state around loadvm_postcopy_handle_run_bh peterx
2024-01-26  4:17 ` [PULL 13/15] migration: Add a wrapper to qemu_bh_schedule peterx
2024-01-26  4:17 ` [PULL 14/15] migration: Centralize BH creation and dispatch peterx
2024-01-26  4:17 ` [PULL 15/15] Make 'uri' optional for migrate QAPI peterx
2024-01-26 18:16 ` [PULL 00/15] Migration 20240126 patches Peter Maydell

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=65beda13-d994-4bb4-8dd3-e01d592f2b7e@redhat.com \
    --to=eric.auger@redhat.com \
    --cc=farosas@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sebott@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).