Re: [PATCH 34/34] KVM: selftests: Add a memory region subtest to validate invalid flags

From: Paolo Bonzini
Date: Tue Nov 21 2023 - 12:01:18 EST


On Mon, Nov 20, 2023 at 3:09 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Wed, Nov 08, 2023 at 05:08:01PM -0800, Anish Moorthy wrote:
> > Applying [1] and [2] reveals that this also breaks non-x86 builds- the
> > MEM_REGION_GPA/SLOT definitions are guarded behind an #ifdef
> > __x86_64__, while the usages introduced here aren't.
> >
> > Should
> >
> > On Sun, Nov 5, 2023 at 8:35 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> > >
> > > + test_invalid_memory_region_flags();
> >
> > be #ifdef'd, perhaps? I'm not quite sure what the intent is.
>
> This has been broken in -next for a week now, do we have any progress
> on a fix or should we just revert the patch?

Sorry, I was away last week. I have now posted a patch.

Paolo