Sean Christopherson 903358c7ed KVM: x86: Move MSR_IA32_PRED_CMD WRMSR emulation to common code
Dedup the handling of MSR_IA32_PRED_CMD across VMX and SVM by moving the
logic to kvm_set_msr_common().  Now that the MSR interception toggling is
handled as part of setting guest CPUID, the VMX and SVM paths are
identical.

Opportunistically massage the code to make it a wee bit denser.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20230322011440.2195485-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-04-06 13:37:36 -04:00
..
2023-02-26 11:53:25 -08:00
2023-02-25 09:11:30 -08:00
2023-03-02 09:45:34 -08:00
2023-02-25 11:30:21 -08:00
2023-02-21 17:07:39 -08:00
2022-07-25 10:32:32 +02:00
2023-01-25 12:21:04 +01:00