]> git.karo-electronics.de Git - linux-beck.git/commit
kvm: take srcu lock around kvm_steal_time_set_preempted()
authorAndrea Arcangeli <aarcange@redhat.com>
Sat, 17 Dec 2016 18:13:32 +0000 (19:13 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Dec 2016 14:45:15 +0000 (15:45 +0100)
commitcc0d907c0907561f108b2f4d4da24e85f18d0ca5
tree0ee5c0523acc8576d99da25187410b02c4497485
parent931f261b42f10c8c8c9ab53f5ceb47ce51af7cf5
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: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c