kvm: fix schedule in atomic in kvm_steal_time_set_preempted()
authorAndrea Arcangeli <aarcange@redhat.com>
Sat, 17 Dec 2016 17:43:52 +0000 (18:43 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Dec 2016 14:45:14 +0000 (15:45 +0100)
commit931f261b42f10c8c8c9ab53f5ceb47ce51af7cf5
tree1c9dd7e4ee202ecb6d7aef52c4e25c8d2a0c3f76
parent3f5ad8be3713572f3946b69eb376206153d0ea2d
kvm: fix schedule in atomic in kvm_steal_time_set_preempted()

kvm_steal_time_set_preempted() isn't disabling the pagefaults before
calling __copy_to_user and the kernel debug notices.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c