Lines Matching full:vm
126 struct vm;
155 DECLARE_VMMOPS_FUNC(void *, init, (struct vm *vm, struct pmap *pmap));
185 vmmops_init_t init; /* vm-specific initialization */
209 int vm_create(const char *name, struct vm **retvm);
210 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
211 void vm_disable_vcpu_creation(struct vm *vm);
212 void vm_lock_vcpus(struct vm *vm);
213 void vm_unlock_vcpus(struct vm *vm);
214 void vm_destroy(struct vm *vm);
215 int vm_reinit(struct vm *vm);
216 const char *vm_name(struct vm *vm);
217 uint16_t vm_get_maxcpus(struct vm *vm);
218 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores,
220 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
223 int vm_map_mmio(struct vm *vm, vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
224 int vm_unmap_mmio(struct vm *vm, vm_paddr_t gpa, size_t len);
225 int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func);
226 int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func);
235 int vm_suspend(struct vm *vm, enum vm_suspend_how how);
243 struct vm *vcpu_vm(struct vcpu *vcpu);
244 struct vcpu *vm_vcpu(struct vm *vm, int cpu);
246 struct vioapic *vm_ioapic(struct vm *vm);
247 struct vhpet *vm_hpet(struct vm *vm);
252 int vm_apicid2vcpuid(struct vm *vm, int apicid);
254 int vm_suspend_cpu(struct vm *vm, struct vcpu *vcpu);
255 int vm_resume_cpu(struct vm *vm, struct vcpu *vcpu);
264 int vm_snapshot_req(struct vm *vm, struct vm_snapshot_meta *meta);
265 int vm_restore_time(struct vm *vm);
283 cpuset_t vm_active_cpus(struct vm *vm);
284 cpuset_t vm_debug_cpus(struct vm *vm);
285 cpuset_t vm_suspended_cpus(struct vm *vm);
286 cpuset_t vm_start_cpus(struct vm *vm, const cpuset_t *tostart);
287 void vm_await_start(struct vm *vm, const cpuset_t *waiting);
327 void *vm_iommu_domain(struct vm *vm);
337 int vcpu_set_state_all(struct vm *vm, enum vcpu_state state);
360 struct vm_mem *vm_mem(struct vm *vm);
361 struct vatpic *vm_atpic(struct vm *vm);
362 struct vatpit *vm_atpit(struct vm *vm);
363 struct vpmtmr *vm_pmtmr(struct vm *vm);
364 struct vrtc *vm_rtc(struct vm *vm);
381 * This function is called after a VM-exit that occurred during exception or
385 * If a VM-exit handler completes the event delivery successfully then it
396 * This function is called before every VM-entry to retrieve a pending
675 * exitcode to represent the VM-exit.