Re: [PATCH v2 2/4] KVM: SVM: Add emulation support for #GP triggered by SVM instructions

From: Maxim Levitsky
Date: Tue Jan 26 2021 - 01:19:47 EST


On Thu, 2021-01-21 at 14:40 -0800, Sean Christopherson wrote:
> On Thu, Jan 21, 2021, Maxim Levitsky wrote:
> > BTW, on unrelated note, currently the smap test is broken in kvm-unit tests.
> > I bisected it to commit 322cdd6405250a2a3e48db199f97a45ef519e226
> >
> > It seems that the following hack (I have no idea why it works,
> > since I haven't dug deep into the area 'fixes', the smap test for me)
> >
> > -#define USER_BASE (1 << 24)
> > +#define USER_BASE (1 << 25)
>
> https://lkml.kernel.org/r/20210121111808.619347-2-imbrenda@xxxxxxxxxxxxx
>
Thanks!

Best regards,
Maxim Levitsky