[PATCH v3 1/9] KVM: selftests: Unify the codes for guest exception handling