Re: [PATCH] KVM: VMX: Do not account for temporary memory allocation in ECREATE emulation

From: Sean Christopherson
Date: Fri Aug 23 2024 - 19:58:35 EST


On Mon, 15 Jul 2024 22:12:24 +1200, Kai Huang wrote:
> In handle_encls_ecreate(), a page is allocated to store a copy of SECS
> structure used by the ENCLS[ECREATE] leaf from the guest. This page is
> only used temporarily and is freed after use in handle_encls_ecreate().
>
> Don't account for the memory allocation of this page per [1].
>
>
> [...]

Applied to kvm-x86 vmx, thanks!

[1/1] KVM: VMX: Do not account for temporary memory allocation in ECREATE emulation
https://github.com/kvm-x86/linux/commit/d9aa56edad35

--
https://github.com/kvm-x86/linux/tree/next