Lines Matching full:vm
32 #include <vm/vm.h>
33 #include <vm/pmap.h>
108 * The VM name has to fit into the pathname length constraints of devfs,
116 * image that is attached to the VM. A separator character gets added to
119 * The effective length of a VM name is 229 bytes for FreeBSD 13 and 37
129 struct vm;
144 int vm_create(const char *name, struct vm **retvm);
145 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
146 void vm_disable_vcpu_creation(struct vm *vm);
147 void vm_slock_vcpus(struct vm *vm);
148 void vm_unlock_vcpus(struct vm *vm);
149 void vm_destroy(struct vm *vm);
150 int vm_reinit(struct vm *vm);
151 const char *vm_name(struct vm *vm);
153 uint16_t vm_get_maxcpus(struct vm *vm);
154 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores,
156 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
161 int vm_suspend(struct vm *vm, enum vm_suspend_how how);
162 void* vm_get_cookie(struct vm *vm);
165 struct vm *vcpu_vm(struct vcpu *vcpu);
166 struct vcpu *vm_vcpu(struct vm *vm, int cpu);
170 int vm_suspend_cpu(struct vm *vm, struct vcpu *vcpu);
171 int vm_resume_cpu(struct vm *vm, struct vcpu *vcpu);
173 int vm_attach_vgic(struct vm *vm, struct vm_vgic_descr *descr);
174 int vm_assert_irq(struct vm *vm, uint32_t irq);
175 int vm_deassert_irq(struct vm *vm, uint32_t irq);
176 int vm_raise_msi(struct vm *vm, uint64_t msg, uint64_t addr, int bus, int slot,
184 cpuset_t vm_active_cpus(struct vm *vm);
185 cpuset_t vm_debug_cpus(struct vm *vm);
186 cpuset_t vm_suspended_cpus(struct vm *vm);
233 struct vmspace *vm_vmspace(struct vm *vm);
234 struct vm_mem *vm_mem(struct vm *vm);