Lines Matching full:vcpu

38 struct vcpu;
145 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
166 * APIs that inspect the guest memory map require only a *single* vcpu to
175 void *vm_gpa_hold(struct vcpu *vcpu, vm_paddr_t gpa, size_t len,
180 bool vm_mem_allocated(struct vcpu *vcpu, vm_paddr_t gpa);
182 int vm_gla2gpa_nofault(struct vcpu *vcpu, struct vm_guest_paging *paging,
190 int vm_get_register(struct vcpu *vcpu, int reg, uint64_t *retval);
191 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
192 int vm_run(struct vcpu *vcpu);
195 int vcpu_vcpuid(struct vcpu *vcpu);
196 void *vcpu_get_cookie(struct vcpu *vcpu);
197 struct vm *vcpu_vm(struct vcpu *vcpu);
198 struct vcpu *vm_vcpu(struct vm *vm, int cpu);
199 int vm_get_capability(struct vcpu *vcpu, int type, int *val);
200 int vm_set_capability(struct vcpu *vcpu, int type, int val);
201 int vm_activate_cpu(struct vcpu *vcpu);
202 int vm_suspend_cpu(struct vm *vm, struct vcpu *vcpu);
203 int vm_resume_cpu(struct vm *vm, struct vcpu *vcpu);
204 int vm_inject_exception(struct vcpu *vcpu, uint64_t esr, uint64_t far);
210 struct vm_exit *vm_exitinfo(struct vcpu *vcpu);
211 void vm_exit_suspended(struct vcpu *vcpu, uint64_t pc);
212 void vm_exit_debug(struct vcpu *vcpu, uint64_t pc);
213 void vm_exit_rendezvous(struct vcpu *vcpu, uint64_t pc);
214 void vm_exit_astpending(struct vcpu *vcpu, uint64_t pc);
234 int vcpu_debugged(struct vcpu *vcpu);
243 int vcpu_set_state(struct vcpu *vcpu, enum vcpu_state state, bool from_idle);
244 enum vcpu_state vcpu_get_state(struct vcpu *vcpu, int *hostcpu);
247 vcpu_is_running(struct vcpu *vcpu, int *hostcpu) in vcpu_is_running() argument
249 return (vcpu_get_state(vcpu, hostcpu) == VCPU_RUNNING); in vcpu_is_running()
254 vcpu_should_yield(struct vcpu *vcpu) in vcpu_should_yield() argument
263 void *vcpu_stats(struct vcpu *vcpu);
264 void vcpu_notify_event(struct vcpu *vcpu);