Home
last modified time | relevance | path

Searched refs:vtc (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/test/bhyve-tests/tests/inst_emul/
H A Dsuspend_info.c51 struct vcpu_thread_ctx *vtc = arg; in vcpu0_thread() local
52 struct vcpu *vcpu = vtc->vcpu; in vcpu0_thread()
68 *vtc->howp = vexit.u.suspended.how; in vcpu0_thread()
69 *vtc->sourcep = vexit.u.suspended.source; in vcpu0_thread()
93 vcpu0_spawn(struct vcpu_thread_ctx *vtc) in vcpu0_spawn() argument
96 if (pthread_create(&tid, NULL, vcpu0_thread, (void *)vtc) != 0) { in vcpu0_spawn()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm.c163 vm_thread_ctx_t vtc; /* (o) thread state for ctxops */ member
402 vcpu->vtc.vtc_vm = vm; in vcpu_init()
403 vcpu->vtc.vtc_vcpuid = vcpu_id; in vcpu_init()
404 vcpu->ctxop = ctxop_allocate(&vmm_ctxop_tpl, &vcpu->vtc); in vcpu_init()
2306 vm_thread_ctx_t *vtc = arg; in vmm_savectx() local
2307 struct vm *vm = vtc->vtc_vm; in vmm_savectx()
2308 const int vcpuid = vtc->vtc_vcpuid; in vmm_savectx()
2319 vtc->vtc_ustate = vm->vcpu[vcpuid].ustate; in vmm_savectx()
2327 if ((vtc->vtc_status & VTCS_FPU_RESTORED) != 0) { in vmm_savectx()
2331 vtc->vtc_status &= ~VTCS_FPU_RESTORED; in vmm_savectx()
[all …]