KVM: Do not migrate pending software interrupts.
authorGleb Natapov <gleb@redhat.com>
Mon, 11 May 2009 10:35:53 +0000 (13:35 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:59 +0000 (11:48 +0300)
commit36752c9b91f75aa3ff0f214a89f13d806cb2f61f
tree0df1adb2be6663e13370f9148506073294b297c9
parent44c11430b52cbad0a467bc023a802d122dfd285c
KVM: Do not migrate pending software interrupts.

INTn will be re-executed after migration. If we wanted to migrate
pending software interrupt we would need to migrate interrupt type
and instruction length too, but we do not have all required info on
SVM, so SVM->VMX migration would need to re-execute INTn anyway. To
make it simple never migrate pending soft interrupt.

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