diff options
author | Avi Kivity <avi@qumranet.com> | 2008-07-03 14:50:12 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 10:15:13 +0200 |
commit | 35920a356957eea9fd1f9da043f93469e8d72eab (patch) | |
tree | 941be8b75035690659f7d244f87e6d66ea6ec2f3 /include | |
parent | 26eef70c3e8c76e73dff2579c792fc7355f8a291 (diff) | |
download | kernel_samsung_smdk4412-35920a356957eea9fd1f9da043f93469e8d72eab.zip kernel_samsung_smdk4412-35920a356957eea9fd1f9da043f93469e8d72eab.tar.gz kernel_samsung_smdk4412-35920a356957eea9fd1f9da043f93469e8d72eab.tar.bz2 |
KVM: VMX: Fix pending exception processing
The vmx code assumes that IDT-Vectoring can only be set when an exception
is injected due to the exception in question. That's not true, however:
if the exception is injected correctly, and later another exception occurs
but its delivery is blocked due to a fault, then we will incorrectly assume
the first exception was not delivered.
Fix by unconditionally dequeuing the pending exception, and requeuing it
(or the second exception) if we see it in the IDT-Vectoring field.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions