summaryrefslogtreecommitdiff
path: root/kvm_vmx.c
diff options
context:
space:
mode:
authorMax Bruning <max@joyent.com>2011-06-27 00:09:19 -0700
committerMax Bruning <max@joyent.com>2011-06-27 00:10:28 -0700
commit2da0b1292c437a43942d8cb12df8cf21cca0a83f (patch)
tree5820058844248270331b69a25b28cd463d8d11a7 /kvm_vmx.c
parent4f4e1e2653498155250e5d1d2fff8519f462a9ea (diff)
downloadillumos-kvm-2da0b1292c437a43942d8cb12df8cf21cca0a83f.tar.gz
HVM-417 kmem_cache_destroy not called for all kmem caches on driver unload
Diffstat (limited to 'kvm_vmx.c')
-rw-r--r--kvm_vmx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm_vmx.c b/kvm_vmx.c
index 5bdffcb..0b6b4af 100644
--- a/kvm_vmx.c
+++ b/kvm_vmx.c
@@ -3205,6 +3205,7 @@ handle_external_interrupt(struct kvm_vcpu *vcpu)
KVM_VCPU_KSTAT_INC(vcpu, kvmvs_irq_exits);
if (CPU->cpu_runrun || CPU->cpu_kprunrun) {
vcpu->run->exit_reason = KVM_EXIT_INTR;
+ vcpu->run->hw.hardware_exit_reason = EXIT_REASON_EXTERNAL_INTERRUPT;
return (0);
} else {
return (1);