Searched refs:vcpu_id (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/sys/contrib/xen/
H A Dpmu.h112 uint32_t vcpu_id; member in struct:xen_pmu_data
116 * guests set to vcpu_id;
H A Dxenoprof.h80 uint32_t vcpu_id; member in struct:xenoprof_buf
H A Dvm_event.h393 uint32_t vcpu_id; member in struct:vm_event_st
H A Ddomctl.h784 uint32_t vcpu_id; /* any vcpu in an event? */ member in struct:xen_domctl_gdbsx_domstatus
H A Dsysctl.h624 /* If a domain has multiple VCPUs, vcpu_id specifies which one
627 unsigned int vcpu_id; member in struct:xen_sysctl_arinc653_schedule::__anon123
/freebsd-current/sys/x86/include/xen/
H A Dxen-os.h72 #define XEN_VCPUID() PCPU_GET(vcpu_id)
/freebsd-current/usr.sbin/bhyve/amd64/
H A Dvmexit.c111 vme->u.msr.code, vcpu_id(vcpu));
141 vme->u.msr.code, vme->u.msr.wval, vcpu_id(vcpu));
242 EPRINTLN("vm exit[%d]", vcpu_id(vcpu));
278 EPRINTLN("vm exit[%d]", vcpu_id(vcpu));
332 checkpoint_cpu_suspend(vcpu_id(vcpu));
336 checkpoint_cpu_resume(vcpu_id(vcpu));
396 int vcpuid = vcpu_id(vcpu);
428 checkpoint_cpu_suspend(vcpu_id(vcpu));
432 checkpoint_cpu_resume(vcpu_id(vcpu));
447 checkpoint_cpu_suspend(vcpu_id(vcp
[all...]
H A Dbhyverun_machdep.c316 fbsdrun_addcpu(vcpu_id(vcpu));
/freebsd-current/sys/x86/xen/
H A Dxen_apic.c127 rc = HYPERVISOR_vcpu_op(VCPUOP_send_nmi, PCPU_GET(vcpu_id), NULL);
132 PCPU_ID_GET(cpu, vcpu_id), NULL);
141 PCPU_ID_GET(cpu, vcpu_id), NULL);
149 PCPU_ID_GET(apic_cpuid(dest), vcpu_id), NULL);
360 /* Switch to using PV IPIs as soon as the vcpu_id is set. */
H A Dhvm.c519 ("Xen PV domain without vcpu_id in cpuid"));
520 PCPU_SET(vcpu_id, (regs[0] & XEN_HVM_CPUID_VCPU_ID_PRESENT) ?
531 rc = set_percpu_callback(PCPU_GET(vcpu_id));
/freebsd-current/sys/amd64/vmm/
H A Dx86.c78 int vcpu_id = vcpu_vcpuid(vcpu); local
94 VCPU_CTR2(vm, vcpu_id, "cpuid %#x,%#x", func, param);
283 regs[0] = vcpu_id;
286 (vcpu_id >> log2(threads + 1));
308 regs[1] |= (vcpu_id << CPUID_0000_0001_APICID_SHIFT);
489 x2apic_id = vcpu_id;
496 x2apic_id = vcpu_id;
H A Dvmm.c240 int vcpu_id))
342 vcpu_alloc(struct vm *vm, int vcpu_id) argument
346 KASSERT(vcpu_id >= 0 && vcpu_id < vm->maxcpus,
347 ("vcpu_init: invalid vcpu %d", vcpu_id));
353 vcpu->vcpuid = vcpu_id;
/freebsd-current/sys/contrib/xen/hvm/
H A Dhvm_op.h238 uint32_t vcpu_id; member in struct:xen_hvm_altp2m_vcpu_enable_notify
247 uint32_t vcpu_id; member in struct:xen_hvm_altp2m_vcpu_disable_notify
317 uint32_t vcpu_id; member in struct:xen_hvm_altp2m_get_vcpu_p2m_idx
/freebsd-current/sys/dev/xen/bus/
H A Dxen_intr.c517 u_int vcpu_id = XEN_CPUID_TO_VCPUID(cpu); local
519 struct evtchn_bind_ipi bind_ipi = { .vcpu = vcpu_id };
536 u_int vcpu_id = XEN_CPUID_TO_VCPUID(cpu); local
539 .vcpu = vcpu_id };
660 u_int vcpu_id = XEN_CPUID_TO_VCPUID(to_cpu); local
691 bind_vcpu.vcpu = vcpu_id;
863 u_int vcpu_id = XEN_CPUID_TO_VCPUID(cpu); local
865 struct evtchn_bind_virq bind_virq = { .virq = virq, .vcpu = vcpu_id };
923 u_int vcpu_id = XEN_CPUID_TO_VCPUID(cpu); local
925 struct evtchn_bind_ipi bind_ipi = { .vcpu = vcpu_id };
[all...]
/freebsd-current/sys/arm64/vmm/
H A Darm64.h144 int vcpu_id))
H A Dvmm.c284 vcpu_alloc(struct vm *vm, int vcpu_id) argument
288 KASSERT(vcpu_id >= 0 && vcpu_id < vm->maxcpus,
289 ("vcpu_alloc: invalid vcpu %d", vcpu_id));
295 vcpu->vcpuid = vcpu_id;
/freebsd-current/sys/dev/xen/timer/
H A Dxen_timer.c319 int cpu = PCPU_GET(vcpu_id);
350 int cpu = PCPU_GET(vcpu_id);
/freebsd-current/usr.sbin/bhyve/aarch64/
H A Dbhyverun_machdep.c194 fbsdrun_addcpu(vcpu_id(vcpu));
H A Dvmexit.c107 int vcpuid = vcpu_id(vcpu);
/freebsd-current/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c1886 unsigned int cpu, vcpu_id; local
1925 vcpu_id = VMBUS_GET_VCPU_ID(device_get_parent(pcib), pcib, cpu);
1929 vcpu_id = VMBUS_GET_VCPU_ID(device_get_parent(pcib), pcib, cpu);
1934 vcpu_id > 63) {
1935 /* We only support vcpu_id < 64 before vPCI version 1.4 */
1938 "vcpu_id %u overflowed on PCI VMBus version 0x%x\n",
1939 vcpu_id, hpdev->hbus->protocol_version);
1957 ctxt.int_pkts.v1.int_desc.cpu_mask = 1ULL << vcpu_id;
1971 ctxt.int_pkts.v3.int_desc.processor_array[0] = vcpu_id;
/freebsd-current/usr.sbin/bhyve/
H A Dgdb.c832 int vcpuid = vcpu_id(vcpu);
901 vcpuid = vcpu_id(vcpu);
935 vs = &vcpu_state[vcpu_id(vcpu)];
986 int vcpuid = vcpu_id(vcpu);
1068 vcpuid = vcpu_id(vcpu);
1125 vcpuid = vcpu_id(vcpu);
H A Dmem.c172 vcpuid = vcpu_id(vcpu);
H A Dbhyverun.c465 assert(CPU_ISSET(vcpu_id(vcpu), &active_cpus));
/freebsd-current/lib/libvmmapi/
H A Dvmmapi.h125 int vcpu_id(struct vcpu *vcpu);
/freebsd-current/sys/amd64/include/
H A Dvmm.h177 int vcpu_id);

Completed in 338 milliseconds

12