Searched refs:guest_ncpus (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | bhyverun.c | 111 int guest_ncpus; variable 210 guest_ncpus = parse_int_value("cpus", value, 1, UINT16_MAX); in calc_topology() 213 guest_ncpus = 1; in calc_topology() 230 cpu_sockets = guest_ncpus; in calc_topology() 242 if (guest_ncpus != (int)ncpus) in calc_topology() 246 guest_ncpus); in calc_topology() 248 guest_ncpus = ncpus; in calc_topology() 343 vcpumap = calloc(guest_ncpus, sizeof(*vcpumap)); in build_vcpumaps() 344 for (vcpu = 0; vcpu < guest_ncpus; vcpu++) { in build_vcpumaps() 725 if (guest_ncpus > max_vcpus) { in main() [all …]
|
H A D | bhyverun.h | 49 extern int guest_ncpus;
|
H A D | qemu_fwcfg.c | 268 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_max_cpus() 282 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_nb_cpus()
|
H A D | gdb.c | 399 memset(vcpu_state, 0, guest_ncpus * sizeof(*vcpu_state)); in close_connection() 775 assert(vcpuid < guest_ncpus); in gdb_cpu_add() 1914 vcpu_state = calloc(guest_ncpus, sizeof(*vcpu_state)); in init_mdb() 1987 vcpus = calloc(guest_ncpus, sizeof(*vcpus)); in init_gdb() 1988 vcpu_state = calloc(guest_ncpus, sizeof(*vcpu_state)); in init_gdb()
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | bhyverun_machdep.c | 438 error = mptable_build(ctx, guest_ncpus); in bhyve_init_platform_late() 453 error = acpi_build(ctx, guest_ncpus); in bhyve_init_platform_late()
|
H A D | fwctl.c | 154 CTL_NODE("hw.ncpu", &guest_ncpus, sizeof(guest_ncpus));
|