diff options
author | 2021-04-23 16:23:20 +0800 | |
---|---|---|
committer | 2021-04-23 17:00:50 -0400 | |
commit | 9c1a07442c95f6e64dc8de099e9f35ea73db7852 (patch) | |
tree | 071c9494694a03f93f60f50364ad3a096ddd5016 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Linux 5.12-rc8 (diff) | |
download | wireguard-linux-9c1a07442c95f6e64dc8de099e9f35ea73db7852.tar.xz wireguard-linux-9c1a07442c95f6e64dc8de099e9f35ea73db7852.zip |
KVM: x86/xen: Take srcu lock when accessing kvm_memslots()
kvm_memslots() will be called by kvm_write_guest_offset_cached() so we should
take the srcu lock. Let's pull the srcu lock operation from kvm_steal_time_set_preempted()
again to fix xen part.
Fixes: 30b5c851af7 ("KVM: x86/xen: Add support for vCPU runstate information")
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1619166200-9215-1-git-send-email-wanpengli@tencent.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions