Re: guest kernel fails to start when cpuset is used

Miroslav Lachman <[email protected]>
Newsgroups gmane.os.freebsd.current
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.