svn commit: r273749 - head/sys/amd64/vmm/amd
Peter Grehan
grehan at FreeBSD.org
Mon Oct 27 22:20:52 UTC 2014
Author: grehan
Date: Mon Oct 27 22:20:51 2014
New Revision: 273749
URL: https://svnweb.freebsd.org/changeset/base/273749
Log:
Remove bhyve SVM feature printf's now that they are available in the
general CPU feature detection code.
Reviewed by: neel
Modified:
head/sys/amd64/vmm/amd/svm.c
Modified: head/sys/amd64/vmm/amd/svm.c
==============================================================================
--- head/sys/amd64/vmm/amd/svm.c Mon Oct 27 22:02:35 2014 (r273748)
+++ head/sys/amd64/vmm/amd/svm.c Mon Oct 27 22:20:51 2014 (r273749)
@@ -174,30 +174,9 @@ check_svm_features(void)
do_cpuid(0x8000000A, regs);
svm_feature = regs[3];
- printf("SVM: Revision %d\n", regs[0] & 0xFF);
- printf("SVM: NumASID %u\n", regs[1]);
-
nasid = regs[1];
KASSERT(nasid > 1, ("Insufficient ASIDs for guests: %#x", nasid));
- printf("SVM: Features 0x%b\n", svm_feature,
- "\020"
- "\001NP" /* Nested paging */
- "\002LbrVirt" /* LBR virtualization */
- "\003SVML" /* SVM lock */
- "\004NRIPS" /* NRIP save */
- "\005TscRateMsr" /* MSR based TSC rate control */
- "\006VmcbClean" /* VMCB clean bits */
- "\007FlushByAsid" /* Flush by ASID */
- "\010DecodeAssist" /* Decode assist */
- "\011<b8>"
- "\012<b9>"
- "\013PauseFilter"
- "\014<b11>"
- "\015PauseFilterThreshold"
- "\016AVIC"
- );
-
/* bhyve requires the Nested Paging feature */
if (!(svm_feature & AMD_CPUID_SVM_NP)) {
printf("SVM: Nested Paging feature not available.\n");
More information about the svn-src-head
mailing list