Hi, This series of patches aim to fix multiple related issues with how pending event injection works on nVMX. The first patch fixes a simple error in the return-value of vmx_check_nested_events(). Next patch relies on it to correctly determine when an immediate-exit is required from L2 to L1. The second patch fixes a critical bug which caused L1 to miss an IPI in case it was sent when destination CPU exited from L2 to L0 due to event-delivery. The third patch removes a now reduntant signaling of KVM_REQ_EVENT. This actually masked the issue fixed in the previous patch. The fourth patch fixes an issue of not always syncing PIR to L1 Virtual-APIC-Page when KVM_REQ_EVENT is signaled. This patch relies on vmx_check_nested_events() always being called when KVM_REQ_EVENT is set which is true since the second patch. Thanks, -Liran Alon.