diff options
author | 2015-12-01 10:08:10 +0000 | |
---|---|---|
committer | 2015-12-01 10:08:10 +0000 | |
commit | 19c92ee11039849eb9941171cedc3263ed5289b7 (patch) | |
tree | a9270622e533511c5e3efa8adf394944191bc675 | |
parent | cleanup Makefile (diff) | |
download | wireguard-openbsd-19c92ee11039849eb9941171cedc3263ed5289b7.tar.xz wireguard-openbsd-19c92ee11039849eb9941171cedc3263ed5289b7.zip |
Properly disable SVM until its support is added back.
Should prevent a NULL dereference when initializing VM.
ok mlarkin@
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index 442944fc8af..0f45ba18a2e 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.9 2015/11/26 08:32:09 jsg Exp $ */ +/* $OpenBSD: vmm.c,v 1.10 2015/12/01 10:08:10 mpi Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -899,7 +899,7 @@ int vm_impl_init_svm(struct vm *vm) { /* XXX removed due to rot */ - return (0); + return (-1); } /* |