Lines Matching full:vm

125  * The VM name has to fit into the pathname length constraints of devfs,
133 * image that is attached to the VM. A separator character gets added to
136 * The effective length of a VM name is 229 bytes for FreeBSD 13 and 37
151 struct vm;
176 typedef void * (*vmi_init_func_t)(struct vm *vm, struct pmap *pmap);
202 vmi_init_func_t init; /* vm-specific initialization */
228 int vm_create(const char *name, struct vm **retvm);
229 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
230 void vm_disable_vcpu_creation(struct vm *vm);
231 void vm_slock_vcpus(struct vm *vm);
232 void vm_unlock_vcpus(struct vm *vm);
233 void vm_destroy(struct vm *vm);
234 int vm_reinit(struct vm *vm);
235 const char *vm_name(struct vm *vm);
236 uint16_t vm_get_maxcpus(struct vm *vm);
237 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores,
239 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
242 int vm_map_mmio(struct vm *vm, vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
243 int vm_unmap_mmio(struct vm *vm, vm_paddr_t gpa, size_t len);
244 int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func);
245 int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func);
254 int vm_suspend(struct vm *vm, enum vm_suspend_how how);
262 struct vm *vcpu_vm(struct vcpu *vcpu);
263 struct vcpu *vm_vcpu(struct vm *vm, int cpu);
265 struct vioapic *vm_ioapic(struct vm *vm);
266 struct vhpet *vm_hpet(struct vm *vm);
271 int vm_apicid2vcpuid(struct vm *vm, int apicid);
273 int vm_suspend_cpu(struct vm *vm, struct vcpu *vcpu);
274 int vm_resume_cpu(struct vm *vm, struct vcpu *vcpu);
283 int vm_snapshot_req(struct vm *vm, struct vm_snapshot_meta *meta);
284 int vm_restore_time(struct vm *vm);
302 cpuset_t vm_active_cpus(struct vm *vm);
303 cpuset_t vm_debug_cpus(struct vm *vm);
304 cpuset_t vm_suspended_cpus(struct vm *vm);
305 cpuset_t vm_start_cpus(struct vm *vm, const cpuset_t *tostart);
306 void vm_await_start(struct vm *vm, const cpuset_t *waiting);
346 void *vm_iommu_domain(struct vm *vm);
377 struct vmspace *vm_vmspace(struct vm *vm);
378 struct vm_mem *vm_mem(struct vm *vm);
379 struct vatpic *vm_atpic(struct vm *vm);
380 struct vatpit *vm_atpit(struct vm *vm);
381 struct vpmtmr *vm_pmtmr(struct vm *vm);
382 struct vrtc *vm_rtc(struct vm *vm);
399 * This function is called after a VM-exit that occurred during exception or
403 * If a VM-exit handler completes the event delivery successfully then it
414 * This function is called before every VM-entry to retrieve a pending
691 * exitcode to represent the VM-exit.