diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-10 15:24:33 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-21 13:57:54 +0100 |
commit | e348ac7c9e34bb2109facaafd3eea65f47314a9d (patch) | |
tree | 827db271eb644fe7d58310a7ff242fb9b01393fc /arch/x86/kvm/x86.c | |
parent | fe6ed369fca98e99df55c932b85782a5687526b5 (diff) |
KVM: VMX: Add helper to consolidate up PT/RTIT WRMSR fault logic
Add a helper to consolidate the common checks for writing PT MSRs,
and opportunistically clean up the formatting of the affected code.
No functional change intended.
Cc: Chao Peng <chao.p.peng@linux.intel.com>
Cc: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions