Home
last modified time | relevance | path

Searched full:vcpus (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/contrib/xen/
H A Ddomctl.h155 uint32_t nr_online_vcpus; /* Number of VCPUs currently online. */
156 #define XEN_INVALID_MAX_VCPU_ID (~0U) /* Domain has no vcpus? */
359 * still required in the short term to allocate the vcpus themselves.
362 uint32_t max; /* maximum number of vcpus */
407 * XEN_DOMCTL_SCHEDOP_putinfo sets params for all vcpus;
409 * XEN_DOMCTL_SCHEDOP_put(get)vcpuinfo sets (gets) params of vcpus;
412 * XEN_DOMCTL_SCHEDOP_putinfo sets params for all vcpus;
429 XEN_GUEST_HANDLE_64(xen_domctl_schedparam_vcpu_t) vcpus;
431 * IN: Number of elements in vcpus array.
432 * OUT: Number of processed elements of vcpus array.
[all …]
H A Darch-arm.h210 * Only one. All other VCPUS must use VCPUOP_register_vcpu_info.
476 /* Current supported guest VCPUs */
H A Dxen.h388 * vcpumask: Pointer to bitmap of VCPUs to be flushed.
392 * vcpumask: Pointer to bitmap of VCPUs to be flushed.
395 * No additional arguments. Flushes all VCPUs' TLBs.
398 * linear_addr: Linear address to be flushed from all VCPUs' TLBs.
H A Dsched.h76 * Halt execution of this domain (all VCPUs) and notify the system controller.
/freebsd/sys/contrib/device-tree/Bindings/cpufreq/
H A Dqemu,virtual-cpufreq.yaml15 selection of its vCPUs as a hint to the host through MMIO regions. Each vCPU
16 is associated with a performance domain which can be shared with other vCPUs.
/freebsd/sys/amd64/vmm/
H A Dvmm.c142 * [v] reads require one frozen vcpu, writes require freezing all vcpus
153 volatile cpuset_t active_cpus; /* (i) active vcpus */
154 volatile cpuset_t debug_cpus; /* (i) vcpus stopped for debug */
158 volatile cpuset_t suspended_cpus; /* (i) suspended vcpus */
167 struct vcpu **vcpu; /* (o) guest vcpus */
249 * Halt the guest if all vcpus are executing a HLT instruction with
255 "Halt VM if all vcpus execute HLT with interrupts disabled");
512 sx_init(&vm->vcpus_init_lock, "vm vcpus"); in vm_create()
610 * A virtual machine can be reset only if all vcpus are suspended. in vm_reinit()
1010 * Try to lock all of the vCPUs in the VM while taking care to avoid deadlocks
[all …]
/freebsd/usr.sbin/bhyve/
H A Dgdb.c135 * and stops other vCPUs so the event can be reported. The
138 * the event for 'stopped_vcpu' is cleared. vCPUs will loop in their
162 static struct vcpu **vcpus; variable
496 /* Resume any stopped vCPUs. */ in close_connection()
927 assert(vcpus[vcpuid] == NULL); in gdb_cpu_add()
928 vcpus[vcpuid] = vcpu; in gdb_cpu_add()
936 * If a vcpu is added while vcpus are stopped, suspend the new in gdb_cpu_add()
955 * execution, vCPUs will be unsuspended from the kernel's point in gdb_cpu_add()
1200 if (vm_get_register_set(vcpus[cur_vcpu], nitems(gdb_regset), in gdb_read_regs()
1229 if (vm_get_register(vcpus[cur_vcpu], gdb_regset[reg].id, &regval) == in gdb_read_one_reg()
[all …]
H A Dbhyverun.c345 errx(4, "Computed number of vCPUs too high: %ju", in calc_topology()
351 "does not match %d vCPUs", in calc_topology()
857 fprintf(stderr, "Invalid guest vCPUs (%d)\n", guest_ncpus); in main()
865 fprintf(stderr, "%d vCPUs requested but only %d available\n", in main()
939 * Add all vCPUs. in main()
/freebsd/sys/riscv/vmm/
H A Dvmm.c116 volatile cpuset_t active_cpus; /* (i) active vcpus */
117 volatile cpuset_t debug_cpus; /* (i) vcpus stopped for debug*/
120 volatile cpuset_t suspended_cpus; /* (i) suspended vcpus */
124 struct vcpu **vcpu; /* (i) guest vcpus */
299 sx_init(&vm->vcpus_init_lock, "vm vcpus"); in vm_create()
387 * A virtual machine can be reset only if all vcpus are suspended. in vm_reinit()
511 * Notify all active vcpus that they are now suspended. in vm_suspend()
1039 * more vcpus are doing a rendezvous we need to call the rendezvous in vm_handle_suspend()
1059 * Wakeup the other sleeping vcpus and return to userspace. in vm_handle_suspend()
/freebsd/sys/dev/vmm/
H A Dvmm_mem.h70 * APIs that modify the guest memory map require all vcpus to be frozen.
87 * modification requires *all* vcpus to be frozen.
H A Dvmm_dev.h68 /* Maximum number of vCPUs in a single VM. */
H A Dvmm_dev.c97 &vm_maxcpu, 0, "Maximum number of vCPUs");
170 * Serialize vcpu_lock_all() callers. Individual vCPUs are not locked in vcpu_lock_all()
888 KASSERT(error == 0, ("%s: error %d freezing vcpus", __func__, error)); in vmmdev_destroy()
/freebsd/sys/amd64/vmm/amd/
H A Dsvm_softc.h72 uint8_t *iopm_bitmap; /* shared by all vcpus */
73 uint8_t *msr_bitmap; /* shared by all vcpus */
/freebsd/sys/arm64/vmm/
H A Dvmm.c120 volatile cpuset_t active_cpus; /* (i) active vcpus */
121 volatile cpuset_t debug_cpus; /* (i) vcpus stopped for debug */
124 volatile cpuset_t suspended_cpus; /* (i) suspended vcpus */
128 struct vcpu **vcpu; /* (i) guest vcpus */
429 sx_init(&vm->vcpus_init_lock, "vm vcpus"); in vm_create()
524 * A virtual machine can be reset only if all vcpus are suspended. in vm_reinit()
848 * Notify all active vcpus that they are now suspended. in vm_suspend()
1369 * more vcpus are doing a rendezvous we need to call the rendezvous in vm_handle_suspend()
1389 * Wakeup the other sleeping vcpus and return to userspace. in vm_handle_suspend()
H A Dvmm_reset.c126 * set of featers on all vcpus in reset_vm_el2_regs()
/freebsd/sys/amd64/vmm/intel/
H A Dvmx_msr.h56 * would involve some form of synchronization between the vcpus to vmclear
H A Dvmx_msr.c315 * The permissions bitmap is shared between all vcpus so initialize it in vmx_msr_guest_init()
/freebsd/sys/contrib/xen/hvm/
H A Dhvm_info_table.h39 * for their vCPUs. For example, HYPERVISOR_vcpu_op and some EVTCHNOP_*
H A Ddm_op.h450 * XEN_DMOP_nr_vcpus: Query the number of vCPUs a domain has.
460 uint32_t vcpus; /* OUT */ member
/freebsd/sys/amd64/include/
H A Dvmm.h269 * Rendezvous all vcpus specified in 'dest' and execute 'func(arg)'.
275 * The implementation of this API may cause vcpus other than those specified
276 * by 'dest' to be stalled. The caller should not rely on any vcpus making
/freebsd/sys/xen/
H A Dxen_common.c79 * NB: the vCPU info for some vCPUs can be fetched from the shared info in xen_setup_vcpu_info()
/freebsd/sys/dev/xen/xenpci/
H A Dxenpci.c66 * events to specific vCPUs, so all events are delivered to vCPU#0 by in xenpci_irq_init()
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-5-setup.sh83 --vcpus=$CPU,sockets=1 \
H A Dqemu-2-start.sh261 --vcpus=4,sockets=1 \
/freebsd/sys/dev/hyperv/vmbus/
H A Dhyperv_mmu.c103 * vCPUs otherwise. in hv_cpumask_to_vpset()

12