Date: Wed, 3 Jun 2015 20:12:18 +0300 From: Stefan Andritoiu <stefan.andritoiu@gmail.com> To: freebsd-virtualization@freebsd.org Subject: Where are the VCPU threads created? Message-ID: <CAO3d8=bWJ-K-k9mRChpC4snVHkXoMrnQTA5L-VNqzoApDhbP3g@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I see that in the main() function of bhyverun.c it adds CPU0 by calling fbsdrun_addcpu(ctx, 0, 0, rip). But I can't find where the other VCPUs are added. Or if the 'guest_ncpus' variable is ever used (except for error checks)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO3d8=bWJ-K-k9mRChpC4snVHkXoMrnQTA5L-VNqzoApDhbP3g>