Hi, This series, of a single patch, aim to fix a bug caused by recalculation of IOAPIC handled vectors while guest is in L2 (is_guest_mode(vcpu)==true). This bug leads to wrongly overwriting vmcs02->eoi_exit_bitmap (which should always be equal to vmcs12->eoi_exit_bitmap) instead of writing new values to vmcs01->eoi_exit_bitmap. The patch fixes this issue by delaying processing of KVM_REQ_SCAN_IOAPIC to execute only when running L1 (is_guest_mode(vcpu)==false). We have also written a kvm-unit-test that severs as a regression test to verify that this bug is indeed fixed. We will commit that kvm-unit-test in a seperate series of patches soon. Thanks. -Liran Alon