summaryrefslogtreecommitdiff
path: root/usr/src/lib/libvmm/libvmm.h
diff options
context:
space:
mode:
authorHans Rosenfeld <hans.rosenfeld@joyent.com>2019-01-15 16:29:40 +0100
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2019-02-13 23:29:32 +0000
commit2d1a8a4a97fe44c06e3fedddbb32f89fc2755a3e (patch)
tree756d6c6c3ca55952fd45fe907eb1bc0631f6b59c /usr/src/lib/libvmm/libvmm.h
parent0dffce43ebed3eede3daefae50319a3731a68e6d (diff)
downloadillumos-joyent-2d1a8a4a97fe44c06e3fedddbb32f89fc2755a3e.tar.gz
OS-7508 mdb: assertion tripped in libvmm when bhyve VM halts while mdb is attached
OS-7519 mdb: bhyve target can attach before the first vCPU is configured
Diffstat (limited to 'usr/src/lib/libvmm/libvmm.h')
-rw-r--r--usr/src/lib/libvmm/libvmm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libvmm/libvmm.h b/usr/src/lib/libvmm/libvmm.h
index 49a721b486..352b09e970 100644
--- a/usr/src/lib/libvmm/libvmm.h
+++ b/usr/src/lib/libvmm/libvmm.h
@@ -10,7 +10,7 @@
*/
/*
- * Copyright 2018 Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
*/
#ifndef _LIBVMM_H
@@ -98,9 +98,9 @@ ssize_t vmm_vwrite(vmm_t *, int, int, const void *, size_t, uintptr_t);
size_t vmm_ncpu(vmm_t *);
size_t vmm_memsize(vmm_t *);
-void vmm_cont(vmm_t *);
+int vmm_cont(vmm_t *);
int vmm_step(vmm_t *, int);
-void vmm_stop(vmm_t *);
+int vmm_stop(vmm_t *);
int vmm_getreg(vmm_t *, int, int, uint64_t *);
int vmm_setreg(vmm_t *, int, int, uint64_t);