commit | e348ac7c9e34bb2109facaafd3eea65f47314a9d | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Tue Dec 10 15:24:33 2019 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jan 21 13:57:54 2020 +0100 |
tree | 827db271eb644fe7d58310a7ff242fb9b01393fc | |
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>