diff options
author | Ignacio Alvarado <ikalvarado@google.com> | 2016-11-04 12:15:55 -0700 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-11-19 19:04:04 +0100 |
commit | 1650b4ebc99da4c137bfbfc531be4a2405f951dd (patch) | |
tree | 57e9892793596c8a0e27fb12cae882b002bd671e /Documentation/virtual/kvm/api.txt | |
parent | 8b9534406456313beb7bf9051150b50c63049ab7 (diff) | |
download | lwn-1650b4ebc99da4c137bfbfc531be4a2405f951dd.tar.gz lwn-1650b4ebc99da4c137bfbfc531be4a2405f951dd.zip |
KVM: Disable irq while unregistering user notifier
Function user_notifier_unregister should be called only once for each
registered user notifier.
Function kvm_arch_hardware_disable can be executed from an IPI context
which could cause a race condition with a VCPU returning to user mode
and attempting to unregister the notifier.
Signed-off-by: Ignacio Alvarado <ikalvarado@google.com>
Cc: stable@vger.kernel.org
Fixes: 18863bdd60f8 ("KVM: x86 shared msr infrastructure")
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'Documentation/virtual/kvm/api.txt')
0 files changed, 0 insertions, 0 deletions