]> git.baikalelectronics.ru Git - kernel.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)
commit6d4605c4bd5fff0c2c15c6797b1ea787c81d9d18
tree0ee5c0523acc8576d99da25187410b02c4497485
parentb324ba2387e43fa74a7b6b913c80349105d1e065
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