summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-09-10 01:46:22 +0000
committerneel <neel@FreeBSD.org>2014-09-10 01:46:22 +0000
commit5b8dd1ad82ac8c41b835c249585dcef3f826ceb6 (patch)
tree8b0cec7186182aeaa5bba97c588d725c07793c49 /sys/amd64/vmm
parent77b2918286c0ab5da4f3b178638b7f8b36cf268d (diff)
downloadFreeBSD-src-5b8dd1ad82ac8c41b835c249585dcef3f826ceb6.zip
FreeBSD-src-5b8dd1ad82ac8c41b835c249585dcef3f826ceb6.tar.gz
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)
Diffstat (limited to 'sys/amd64/vmm')
-rw-r--r--sys/amd64/vmm/amd/svm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/amd64/vmm/amd/svm.c b/sys/amd64/vmm/amd/svm.c
index b394ffd..d81a161 100644
--- a/sys/amd64/vmm/amd/svm.c
+++ b/sys/amd64/vmm/amd/svm.c
@@ -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);
}
OpenPOWER on IntegriCloud