KVM: take srcu lock before call to complete_pio()
authorGleb Natapov <gleb@redhat.com>
Tue, 9 Mar 2010 10:01:10 +0000 (12:01 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 20 Apr 2010 09:55:04 +0000 (12:55 +0300)
commit7567cae105e435b53e5a3e778546dd3ec53e3204
treea8a9651af97e24940e117f8f0d6adf49476cc394
parent01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f
KVM: take srcu lock before call to complete_pio()

complete_pio() may use slot table which is protected by srcu.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c