diff options
| author | Wanpeng Li <wanpengli@tencent.com> | 2021-06-09 00:16:40 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-17 14:26:11 -0400 |
| commit | 2735886c9ef115fc7b40d27bfe73605c38e9d56b (patch) | |
| tree | 99dd8cd73bfd3b5d86f8f91a395a33ea2f2b6b56 /scripts/stackusage | |
| parent | 0dbb11230437895f7cd6fc55da61cef011e997d8 (diff) | |
| download | cachepc-linux-2735886c9ef115fc7b40d27bfe73605c38e9d56b.tar.gz cachepc-linux-2735886c9ef115fc7b40d27bfe73605c38e9d56b.zip | |
KVM: LAPIC: Keep stored TMCCT register value 0 after KVM_SET_LAPIC
KVM_GET_LAPIC stores the current value of TMCCT and KVM_SET_LAPIC's memcpy
stores it in vcpu->arch.apic->regs, KVM_SET_LAPIC could store zero in
vcpu->arch.apic->regs after it uses it, and then the stored value would
always be zero. In addition, the TMCCT is always computed on-demand and
never directly readable.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1623223000-18116-1-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
