From nobody Fri Sep 12 15:09:38 2025 X-Original-To: virtualization@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 4cNdBV387rz67Yjg for ; Fri, 12 Sep 2025 15:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cNdBV2MNWz4FSH for ; Fri, 12 Sep 2025 15:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757689778; 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: in-reply-to:in-reply-to:references:references; bh=F6BGpyveDNjsIbXhjuaKFZ6s+Pl9a55mJ/1ObDeDu/Y=; b=Dq1dtIycNWDwZHTrh/imYjK9r6OJ0FPwtqN13NIT53U5u48H+Dmc8zNIU37LMftyRes1Q5 FLjKr38IC2uU1smzISz2XIxILu9N02+POrflCQwjO5w5FSUdUezhXR/E+C/ehDtihuo96V DZ7Pr5cwCeqsgTdnd9F7EYc6pEMrjD5pfG1qxJmo89Y3QDXJ3hzROs/DWrvlKxgnYsvkys /OgbVy2I9uxRMUz1ea22ao2Cuz5dLH73B6JNicMVbhu9YV/vZ8U8q2dnZLjFPlfILXqss7 uM36LcI7j2CasmvYCxkV4v758mfagwhRg1ECuevs+xeeLVNC3qGeiM7IsAWNag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757689778; 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: in-reply-to:in-reply-to:references:references; bh=F6BGpyveDNjsIbXhjuaKFZ6s+Pl9a55mJ/1ObDeDu/Y=; b=ftKv/AD78vhugSi7a887E7FPZFrMDL3TXLOV7yyNUS1nMJwpfp5GKsX7YBzgNTKzLCg7Fq oYsLlSPaXpiDqgEc/1tZtRbXd7cYWrdEm+/75dhDvG9C3cff/k2RHfO6o1/wMePvugLl6M iern6iGr3l97K7jIwI4O9kiYEJKiVWW3qHG8K1MZhLHIXBoj4aTNT7oYGzrF8x+LO9YHr7 nCR5e4YvfSKlAk+yj1maJAN7jTS3cb7QARknspv7YjpMWCUadjLjr7decWlXOtgLG0MZPF 4iVcrij2shsLcTT5FhIURu/xF4aMCilmbwCrmUyxMtPE0dzcfFhdqujD3Jcgbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757689778; a=rsa-sha256; cv=none; b=HKcYGEq5DpM9flQt3vZWj1AP08o/8xTjur2Lguw2zMpGyXQfQf5LS5Xjaityu5PT1DMMl+ g/aoQlzdGGGYbwCZ+v6GgA7g7ESlLN2RVcV7JBSmpYEmeaqK9WpI5/mtzCkOFdV02TwjpK 0xSQDGiRGLmw7lJg0y5n/xxYHSZvOQ2TnALqnj/DSIMwqAzXcpnB3A22vs8oa2wA4tDZ2G t7MHg+ZbbZhft5MfIsOwMlLrPHYQzcJxhj9k0jDBbPP3ElOSlRfdq0BEmWZlGe5A4mTzBw LMvxRDmBxLR0GQkXSPQESkI9B8IGzvBkFknbzUfDoulkG1gt1RIYnrUhTu6xAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4cNdBV1n60zxqH for ; Fri, 12 Sep 2025 15:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 58CF9cNX022648 for ; Fri, 12 Sep 2025 15:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58CF9c7F022647 for virtualization@FreeBSD.org; Fri, 12 Sep 2025 15:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 289471] bhyve ARM64 16 vCPU Limit Date: Fri, 12 Sep 2025 15:09:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289471 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |jhb@FreeBSD.org --- Comment #1 from John Baldwin --- It does not. It uses the flexible array of pointers per guest. However, it defaults to being limited to the number of physical CPUs on the host the sa= me as on amd64. There is a tunable to configure it in sys/arm64/vmm/vmm.c: /* * Upper limit on vm_maxcpu. We could increase this to 28 bits, but this * is a safe value for now. */ #define VM_MAXCPU MIN(0xffff - 1, CPU_SETSIZE) ... static int vmm_init(void) { int error; vm_maxcpu =3D mp_ncpus; TUNABLE_INT_FETCH("hw.vmm.maxcpu", &vm_maxcpu); if (vm_maxcpu > VM_MAXCPU) { printf("vmm: vm_maxcpu clamped to %u\n", VM_MAXCPU); vm_maxcpu =3D VM_MAXCPU; } if (vm_maxcpu =3D=3D 0) vm_maxcpu =3D 1; error =3D vmm_regs_init(&vmm_arch_regs, &vmm_arch_regs_masks); if (error !=3D 0) return (error); return (vmmops_modinit(0)); } --=20 You are receiving this mail because: You are the assignee for the bug.=