summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2016-10-18 15:16:56 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2016-10-18 15:16:56 +0000
commita831118723c96d477eb53c60eb6fcf111e542f14 (patch)
tree05b13010787ee0933ec511f742fa9a8fc6333a34 /sys/arch
parenteb57e8f1e6b1bd3a22c72df68c24834187ca367e (diff)
SVM on AMD CPUs is not supported yet, so don't attach there; ok mlarkin@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/vmm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index 949302a5359..0e6a8fb5965 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.93 2016/10/13 19:36:25 martijn Exp $ */
+/* $OpenBSD: vmm.c,v 1.94 2016/10/18 15:16:55 naddy Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -282,7 +282,8 @@ vmm_probe(struct device *parent, void *match, void *aux)
if (found_vmx && found_svm)
return (0);
- if (found_vmx || found_svm)
+ /* SVM is not implemented yet */
+ if (found_vmx)
return 1;
if (vm_disabled)
printf("vmm disabled by firmware\n");