public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: VMX: Clean up of vmx_set_cr4()
@ 2023-04-10 12:50 Xiaoyao Li
  2023-04-10 12:50 ` [PATCH 1/2] KVM: VMX: Use kvm_read_cr4() to get cr4 value Xiaoyao Li
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Xiaoyao Li @ 2023-04-10 12:50 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini; +Cc: kvm, linux-kernel, xiaoyao.li

Two minor patches of vmx_set_cr4() during code inspection.

Patch 1 gets rid of the direct accessing of vcpu->arch.cr4 to avoid
stale value.

Patch 2 moves the code comment to correct place.

Xiaoyao Li (2):
  KVM: VMX: Use kvm_read_cr4() to get cr4 value
  KVM: VMX: Move the comment of CR4.MCE handling right above the code

 arch/x86/kvm/vmx/vmx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


base-commit: d8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7
prerequisite-patch-id: 5c516b453b538845ceb91a76678803ec123834ba
prerequisite-patch-id: 022904226ae3cb6766bba71c3bf407749ab5b5b2
prerequisite-patch-id: cf5655ce89a2390cd29f33c57a4fc307a6045f62
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-02  1:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 12:50 [PATCH 0/2] KVM: VMX: Clean up of vmx_set_cr4() Xiaoyao Li
2023-04-10 12:50 ` [PATCH 1/2] KVM: VMX: Use kvm_read_cr4() to get cr4 value Xiaoyao Li
2023-04-10 17:11   ` Sean Christopherson
2023-04-12  8:02     ` Xiaoyao Li
2023-04-12 15:03       ` Sean Christopherson
2023-04-13  1:23         ` Xiaoyao Li
2023-04-10 12:50 ` [PATCH 2/2] KVM: VMX: Move the comment of CR4.MCE handling right above the code Xiaoyao Li
2023-06-02  1:25 ` [PATCH 0/2] KVM: VMX: Clean up of vmx_set_cr4() Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox