Skip to content
Commit cc0d907c authored by Andrea Arcangeli's avatar Andrea Arcangeli Committed by Paolo Bonzini
Browse files

kvm: take srcu lock around kvm_steal_time_set_preempted()



kvm_memslots() will be called by kvm_write_guest_offset_cached() so
take the srcu lock.

Signed-off-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 931f261b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment