From nobody Wed Mar 09 23:57:37 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B27531A1272C; Wed, 9 Mar 2022 23:57:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDTds5DK7z4cCf; Wed, 9 Mar 2022 23:57:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646870258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nS3KVzTGagOJzBm3QPyEwP1guYQ61GQ5Cwp7fehGqWA=; b=dQPEpjARplrbYpnmNmd3orj8FMNJW7s89DB0NR52GaDvNIJwPq9fnn0uoq5Wvv48sjEKNz 8pCgh8U6h/YW9FlAypaIBH9D9lJAkom2HZ10JHvPYj96Dtjwg2aW3V4UIfRF2jN2K13EEw L2USII6Ye5zQYTv/2uV4yY5BqhlLtss+WLrjvOTuuqMx89vcmSPgJbkjR6uuvplyPtxCTh lDDCWoDkPc9xOsGd7PlAKBG77lDyG0s0kBuOTKyuaRk/erTkoTRd1H1CvEWHAU5ibh2dEx IL+yL6vmZnkXMhhHGX5D6bIfyfQjv4T9bvJJ0w9IUUlqVb85+34GKJv/5Q21GQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A7DA1A43C; Wed, 9 Mar 2022 23:57:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 229NvbCi004845; Wed, 9 Mar 2022 23:57:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 229NvbAI004844; Wed, 9 Mar 2022 23:57:37 GMT (envelope-from git) Date: Wed, 9 Mar 2022 23:57:37 GMT Message-Id: <202203092357.229NvbAI004844@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: f1d450ddee66 - main - bhyve: Remove VM_MAXCPU from the userspace API/ABI. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f1d450ddee669f1e6fef7aefdf8102fc518eef75 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646870258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nS3KVzTGagOJzBm3QPyEwP1guYQ61GQ5Cwp7fehGqWA=; b=wdL6GBQlry5VvWorSIMob0yrshMqXTWa7jOcWEdQjnp8QulkEGjW5t3wnvXP17i6eKgIhF ivB1773morz8Zh4ANHD5q6Qtodw8AsYtjM4xhIV1Rz5GxpdT9riAYXRxMB2ykU6DckCZGI ZaoIIisrRHsUZFQ0IaWSRsobLEsyv8X2/EN+i6R25gsdJQY1cnzv+5lVUC1PpUmZ15xBCB WMnHxSWXMwgziYkf9zNUSGcW6ZUP/Cm55eg4xp1RXVvcjgGtp9NII18X8fXw7/43Fn2nHO tZK7n55WUNDj3iM5LKy2wvjyq5f57sQKjiiEWJxOyvzi07n1u7Dsaic49NJweg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646870258; a=rsa-sha256; cv=none; b=o8NVmHBQVJIA213CuGDnvzY7Cy0dL//IpABT9coei7kT8X7UQBP/msHrr3VbAnzqueYjTI QMUlqq+weXlolUxTcOql7BCEqBvjirL8CXo8W/2yGdWEDa21g1EXGej01LkRtJfOwrZgyn I4ARWcIMeob5mar+nMy/MKs6okOaOcQsReUTdBxi828nlHSIeSQmkmkI6yN9UBWj/T7h4R tOFQTBopWZDalkRm9OYznmqnijMkgKjIoRhE23rpf836ivsJY+tTTPn8jCnP709Y2Chh5+ l3T01vVWAi7kC/Zmd4wEsNpXAK5Rs+ptnt32tGEvjlrhKobIXtVA5kVnnehjgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f1d450ddee669f1e6fef7aefdf8102fc518eef75 commit f1d450ddee669f1e6fef7aefdf8102fc518eef75 Author: John Baldwin AuthorDate: 2022-03-09 23:39:28 +0000 Commit: John Baldwin 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