Re: [PATCH v2] KVM: VMX: Remove the unused variable "gpa" in __invept()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Oct 2024 12:59:31 +0800, Yan Zhao wrote:
> Remove the unused variable "gpa" in __invept().
> 
> The INVEPT instruction only supports two types: VMX_EPT_EXTENT_CONTEXT (1)
> and VMX_EPT_EXTENT_GLOBAL (2). Neither of these types requires a third
> variable "gpa".
> 
> The "gpa" variable for __invept() is always set to 0 and was originally
> introduced for the old non-existent type VMX_EPT_EXTENT_INDIVIDUAL_ADDR
> (0). This type was removed by commit 2b3c5cbc0d81 ("kvm: don't use bit24
> for detecting address-specific invalidation capability") and
> commit 63f3ac48133a ("KVM: VMX: clean up declaration of VPID/EPT
> invalidation types").
> 
> [...]

Applied to kvm-x86 vmx, thanks!

[1/1] KVM: VMX: Remove the unused variable "gpa" in __invept()
      https://github.com/kvm-x86/linux/commit/bc17fccb37c8

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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux