diff options
author | Wanpeng Li <[email protected]> | 2021-04-23 16:23:20 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-04-23 17:00:50 -0400 |
commit | 9c1a07442c95f6e64dc8de099e9f35ea73db7852 (patch) | |
tree | 071c9494694a03f93f60f50364ad3a096ddd5016 /scripts/gdb/linux/clk.py | |
parent | bf05bf16c76bb44ab5156223e1e58e26dfe30a88 (diff) |
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 <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions