]> err.no Git - linux-2.6/commit
KVM: Avoid spurious execeptions after setting registers
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 30 Apr 2008 15:59:04 +0000 (17:59 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:47 +0000 (14:44 +0300)
commitb4f14abd95cd8d42f08438f1c4ec3eafe41054ee
tree1a76ef8cd16ece3ee99c78d07795e5d779b9912b
parentece15babfa514e06118f62f4df2c757d6209f4f0
KVM: Avoid spurious execeptions after setting registers

Clear pending exceptions when setting new register values. This avoids
spurious exceptions after restoring a vcpu state or after
reset-on-triple-fault.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c