]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Clear exception queue before emulating an instruction
authorAvi Kivity <avi@qumranet.com>
Thu, 3 Jul 2008 11:59:22 +0000 (14:59 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:13 +0000 (10:15 +0200)
commit26eef70c3e8c76e73dff2579c792fc7355f8a291
tree2ec10a2e0f68ca0de77d446fa6d5be9189809e8d
parent668f612fa0d8d4120ec5dc0725d7e1ca3152a954
KVM: Clear exception queue before emulating an instruction

If we're emulating an instruction, either it will succeed, in which case
any previously queued exception will be spurious, or we will requeue the
same exception.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h [new file with mode: 0644]