[PATCH] kvm: vmx: fix a trivial comment in vmx_vcpu_after_set_cpuid()

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

 



The commit b6247686b7571 ("KVM: VMX: Drop caching of KVM's desired
sec exec controls for vmcs01") renamed vmx_compute_secondary_exec_control()
to vmx_secondary_exec_control(), but forgot to modify the comment.

Signed-off-by: Yi Wang <foxywang@xxxxxxxxxxx>
---
 arch/x86/kvm/vmx/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index 0ecf4be2c6af..26d62990fea7 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -7722,7 +7722,7 @@ static void vmx_vcpu_after_set_cpuid(struct kvm_vcpu *vcpu)
 {
 	struct vcpu_vmx *vmx = to_vmx(vcpu);
 
-	/* xsaves_enabled is recomputed in vmx_compute_secondary_exec_control(). */
+	/* xsaves_enabled is recomputed in vmx_secondary_exec_control(). */
 	vcpu->arch.xsaves_enabled = false;
 
 	vmx_setup_uret_msrs(vmx);
-- 
2.39.3




[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