Xiaoyao Li 334006b78c KVM: VMX: Use kvm_read_cr4() to get cr4 value
Directly use vcpu->arch.cr4 is not recommended since it gets stale value
if the cr4 is not available.

Use kvm_read_cr4() instead to ensure correct value.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20230410125017.1305238-2-xiaoyao.li@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2023-05-26 13:41:43 -07:00
..
2023-04-27 16:36:55 -07:00
2023-04-28 14:02:54 -07:00
2023-04-28 14:02:54 -07:00
2022-04-14 14:09:43 +02:00
2023-04-27 10:45:30 -07:00
2023-04-28 14:02:54 -07:00
2023-04-08 13:45:37 -07:00
2023-04-28 14:02:54 -07:00
2022-07-25 10:32:32 +02:00
2021-12-11 09:09:45 +01:00