[bhyve][arm64] Number of allowed vcpus

Mihai Carabas mihai.carabas at gmail.com
Wed Jan 13 12:01:55 UTC 2021


Hello,

>From my perspective bhyve should use what is stated in the device tree if
no parameter is given and throw an error when N is greater than the device
tree value.

Mihai

On Wed, Jan 13, 2021 at 1:55 PM Andrei Martin <andrei.cos.martin at gmail.com>
wrote:

> Hello,
>
> While working on enabling multiple virtual cpus for the arm64 virtual
> machine
> I used the bhyve's "-c N" parameter to create N cpus (it gets only the
> cpus, in contrast to the amd64). If N is smaller than the number of cores
> described in the device tree it will enable only N and if it's larger it
> will enable only the number of cores from the device tree.
>
> I don't know if it is the best approach. Another way would be to enable
> all the cpus from the device tree, no more, no less.
>
> Do you have any suggestions?
>
> Andrei
>


More information about the freebsd-virtualization mailing list