KVM: handle emulation failure case first