summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2013-04-12 01:16:52 +0000
committerneel <neel@FreeBSD.org>2013-04-12 01:16:52 +0000
commitcbd874121f7cb0e400ce616aece1e54f73d09cfb (patch)
tree3eb0b17bf3ad3699d913400eb7a26ac54cda0596 /sys/amd64/include
parent5f0af63a3ffd1c7e77dbd701f1eeee90e4c34206 (diff)
downloadFreeBSD-src-cbd874121f7cb0e400ce616aece1e54f73d09cfb.zip
FreeBSD-src-cbd874121f7cb0e400ce616aece1e54f73d09cfb.tar.gz
If vmm.ko could not be initialized correctly then prevent the creation of
virtual machines subsequently. Submitted by: Chris Torek
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/vmm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/vmm.h b/sys/amd64/include/vmm.h
index 6bd3566..9a3063e 100644
--- a/sys/amd64/include/vmm.h
+++ b/sys/amd64/include/vmm.h
@@ -87,7 +87,7 @@ struct vmm_ops {
extern struct vmm_ops vmm_ops_intel;
extern struct vmm_ops vmm_ops_amd;
-struct vm *vm_create(const char *name);
+int vm_create(const char *name, struct vm **retvm);
void vm_destroy(struct vm *vm);
const char *vm_name(struct vm *vm);
int vm_malloc(struct vm *vm, vm_paddr_t gpa, size_t len);
OpenPOWER on IntegriCloud