[PATCH 0/2] KVM: VMX: Clean up of vmx_set_cr4()
From: Xiaoyao Li
Date: Mon Apr 10 2023 - 08:50:32 EST
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