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

Paolo Bonzini pbonzini at redhat.com
Tue Nov 21 09:00:56 PST 2023


On Mon, Nov 20, 2023 at 3:09 PM Mark Brown <broonie at kernel.org> 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 at redhat.com> 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




More information about the kvm-riscv mailing list