Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2022 18:56:12 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ed159d5f8839 - stable/13 - bhyve: Remove VM_MAXCPU from the userspace API/ABI.
Message-ID:  <202205111856.24BIuCtN049148@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=ed159d5f8839742d852cd9a5bb4f3a7699e4ec2f

commit ed159d5f8839742d852cd9a5bb4f3a7699e4ec2f
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-03-09 23:39:28 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-11 18:54:15 +0000

    bhyve: Remove VM_MAXCPU from the userspace API/ABI.
    
    Reviewed by:    grehan
    Differential Revision:  https://reviews.freebsd.org/D34494
    
    (cherry picked from commit f1d450ddee669f1e6fef7aefdf8102fc518eef75)
---
 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?202205111856.24BIuCtN049148>