Skip to content

Commit e5914bf

Browse files
authored
virt_whp/vtl2: fix eoi intercept remove (#2338)
We incorrectly stored true instead of false when removing the intercept. Found via code inspection.
1 parent 6176f07 commit e5914bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vmm_core/virt_whp/src/vtl2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl Vtl2InterceptState {
114114
InterceptType::RetargetUnknownDeviceId => self
115115
.retarget_unknown_device_id
116116
.swap(false, Ordering::SeqCst),
117-
InterceptType::Eoi => self.eoi.swap(true, Ordering::SeqCst),
117+
InterceptType::Eoi => self.eoi.swap(false, Ordering::SeqCst),
118118
}
119119
}
120120

0 commit comments

Comments
 (0)