Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 01:46:22 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r271344 - projects/bhyve_svm/sys/amd64/vmm/amd
Message-ID:  <201409100146.s8A1kMbZ024542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: neel
Date: Wed Sep 10 01:46:22 2014
New Revision: 271344
URL: http://svnweb.freebsd.org/changeset/base/271344

Log:
  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)

Modified:
  projects/bhyve_svm/sys/amd64/vmm/amd/svm.c

Modified: projects/bhyve_svm/sys/amd64/vmm/amd/svm.c
==============================================================================
--- projects/bhyve_svm/sys/amd64/vmm/amd/svm.c	Wed Sep 10 01:37:32 2014	(r271343)
+++ projects/bhyve_svm/sys/amd64/vmm/amd/svm.c	Wed Sep 10 01:46:22 2014	(r271344)
@@ -979,11 +979,6 @@ svm_vmexit(struct svm_softc *svm_sc, int
 		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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409100146.s8A1kMbZ024542>