KVM: SVM: Don't reinject event that caused a task switch
authorGleb Natapov <gleb@redhat.com>
Thu, 23 Apr 2009 14:03:48 +0000 (17:03 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:51 +0000 (11:48 +0300)
commitfe8e7f83de3f0979f13f57992cb33e4a8041272d
treed300367996243453d9b2f407263f4f9fdec64538
parentb586eb0253083795e58dcbe76665410d4676dc08
KVM: SVM: Don't reinject event that caused a task switch

If a task switch caused by an event remove it from the event queue.
VMX already does that.

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