Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2026 12:21:10 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Nikos Vassiliadis <nvass@gmx.com>, freebsd-current@FreeBSD.org
Subject:   Re: guest kernel fails to start when cpuset is used
Message-ID:  <05fbcbb9-be80-4ea4-818c-1e343e1f9305@quip.cz>
In-Reply-To: <882fe6bb-3870-4ce7-bd5a-7f50a9ae5774@gmx.com>

index | next in thread | previous in thread | raw e-mail

On 19/03/2026 11:39, Nikos Vassiliadis wrote:
> Hi,
> 
> I was trying to limit a 12-core VM with cpuset. So I limited it to 0-5
> cores and the kernel seems to fail to start.

[..]

> ACPI APIC Table: <BHYVE  BVAPIC >
> FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
> FreeBSD/SMP: 12 package(s) x 1 core(s)
> random: unblocking device.
> ioapic0 <Version 1.1> irqs 0-31
> Launching APs: 2 8 6 11 10 9 3 4 7 5 1
> 
> And it stays there spinning.
> 
> Any ideas?

I don't think this is a good idea. Why not use -c a -p options for bhyve?
-c <num_of_cores>
-p vcpu:hostcpu Pin guest's virtual CPU vcpu to hostcpu

Kind regards
Miroslav Lachman



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05fbcbb9-be80-4ea4-818c-1e343e1f9305>