Home
last modified time | relevance | path

Searched refs:guest_ncpus (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dbhyverun.c111 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 Dbhyverun.h49 extern int guest_ncpus;
H A Dqemu_fwcfg.c268 *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 Dgdb.c399 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 Dbhyverun_machdep.c438 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 Dfwctl.c154 CTL_NODE("hw.ncpu", &guest_ncpus, sizeof(guest_ncpus));