Remove a bogus check that flagged an error if the guest %rip was zero.

An AP begins execution with %rip set to 0 after a startup IPI.

Discussed with:	Anish Gupta (akgupt3@gmail.com)
This commit is contained in:
neel 2014-09-10 01:46:22 +00:00
parent 77b2918286
commit 5b8dd1ad82

View File

@ -979,11 +979,6 @@ svm_vmexit(struct svm_softc *svm_sc, int vcpu, struct vm_exit *vmexit)
state->rip = vmexit->rip;
}
if (state->rip == 0) {
VCPU_CTR0(svm_sc->vm, vcpu, "SVM_ERR:RIP is NULL\n");
vmexit->exitcode = VM_EXITCODE_VMX;
}
return (loop);
}