Commit 64a7ec06 authored by Committed by Avi Kivity
KVM: Fix unneeded instruction skipping during task switching.
There is no need to skip instruction if the reason for a task switch is a task gate in IDT and access to it is caused by an external even. The problem is currently solved only for VMX since there is no reliable way to skip an instruction in SVM. We should emulate it instead. Signed-off-by: Gleb Natapov <email@example.com> Signed-off-by: Avi Kivity <firstname.lastname@example.org>
Showing with 51 additions and 18 deletions