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

From: Sean Christopherson
Date: Thu Jan 21 2021 - 17:41:38 EST


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