OSDN Git Service

KVM: X86: Delay read msr data iff writes ICR MSR
authorWanpeng Li <wanpengli@tencent.com>
Thu, 26 Mar 2020 02:20:00 +0000 (10:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 Mar 2020 09:58:25 +0000 (05:58 -0400)
commit8a1038de11a5536c76054061837b11648bec5b46
tree98388ff91f09dd875d7e38b7b44fb103b72b358a
parent4f6ea0a87608e1b26ed26123ae7c42aaecdd2c6c
KVM: X86: Delay read msr data iff writes ICR MSR

Delay read msr data until we identify guest accesses ICR MSR to avoid
to penalize all other MSR writes.

Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1585189202-1708-2-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c