Date: Wed, 9 Mar 2022 23:57:37 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f1d450ddee66 - main - bhyve: Remove VM_MAXCPU from the userspace API/ABI. Message-ID: <202203092357.229NvbAI004844@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f1d450ddee669f1e6fef7aefdf8102fc518eef75 commit f1d450ddee669f1e6fef7aefdf8102fc518eef75 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-03-09 23:39:28 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-03-09 23:39:28 +0000 bhyve: Remove VM_MAXCPU from the userspace API/ABI. Reviewed by: grehan Differential Revision: https://reviews.freebsd.org/D34494 --- sys/amd64/include/vmm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/amd64/include/vmm.h b/sys/amd64/include/vmm.h index f265237a5303..d7d1509248f1 100644 --- a/sys/amd64/include/vmm.h +++ b/sys/amd64/include/vmm.h @@ -469,7 +469,9 @@ void vm_copyout(struct vm *vm, int vcpuid, const void *kaddr, int vcpu_trace_exceptions(struct vm *vm, int vcpuid); #endif /* KERNEL */ +#ifdef _KERNEL #define VM_MAXCPU 16 /* maximum virtual cpus */ +#endif /* * Identifiers for optional vmm capabilities
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203092357.229NvbAI004844>