summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2014-10-27 22:20:51 +0000
committergrehan <grehan@FreeBSD.org>2014-10-27 22:20:51 +0000
commit4789422fd1edde809741a19d6f6ab7af453091cf (patch)
tree8fb40c884ca4c0a9bf37e7c1746402ebb81f5be9
parent1d26d798b2888e5e85d9d217862ee52530e514b4 (diff)
downloadFreeBSD-src-4789422fd1edde809741a19d6f6ab7af453091cf.zip
FreeBSD-src-4789422fd1edde809741a19d6f6ab7af453091cf.tar.gz
Remove bhyve SVM feature printf's now that they are available in the
general CPU feature detection code. Reviewed by: neel
-rw-r--r--sys/amd64/vmm/amd/svm.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/amd64/vmm/amd/svm.c b/sys/amd64/vmm/amd/svm.c
index e59f723..753799a 100644
--- a/sys/amd64/vmm/amd/svm.c
+++ b/sys/amd64/vmm/amd/svm.c
@@ -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");
OpenPOWER on IntegriCloud