summaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorWanpeng Li <wanpengli@tencent.com>2021-06-09 00:16:40 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-17 14:26:11 -0400
commit2735886c9ef115fc7b40d27bfe73605c38e9d56b (patch)
tree99dd8cd73bfd3b5d86f8f91a395a33ea2f2b6b56 /scripts/stackusage
parent0dbb11230437895f7cd6fc55da61cef011e997d8 (diff)
downloadcachepc-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