Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/vmm.h
| Show All 31 Lines | |||||
| #define _VMM_H_ | #define _VMM_H_ | ||||
| #include <sys/cpuset.h> | #include <sys/cpuset.h> | ||||
| #include <sys/sdt.h> | #include <sys/sdt.h> | ||||
| #include <x86/segments.h> | #include <x86/segments.h> | ||||
| struct vcpu; | struct vcpu; | ||||
| struct vm_snapshot_meta; | struct vm_snapshot_meta; | ||||
| struct vm_get_dirty_page_list; | |||||
| #ifdef _KERNEL | #ifdef _KERNEL | ||||
| SDT_PROVIDER_DECLARE(vmm); | SDT_PROVIDER_DECLARE(vmm); | ||||
| #endif | #endif | ||||
| enum vm_suspend_how { | enum vm_suspend_how { | ||||
| VM_SUSPEND_NONE, | VM_SUSPEND_NONE, | ||||
| VM_SUSPEND_RESET, | VM_SUSPEND_RESET, | ||||
| ▲ Show 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | |||||
| struct vm_exit *vm_exitinfo(struct vcpu *vcpu); | struct vm_exit *vm_exitinfo(struct vcpu *vcpu); | ||||
| void vm_exit_suspended(struct vcpu *vcpu, uint64_t rip); | void vm_exit_suspended(struct vcpu *vcpu, uint64_t rip); | ||||
| void vm_exit_debug(struct vcpu *vcpu, uint64_t rip); | void vm_exit_debug(struct vcpu *vcpu, uint64_t rip); | ||||
| void vm_exit_rendezvous(struct vcpu *vcpu, uint64_t rip); | void vm_exit_rendezvous(struct vcpu *vcpu, uint64_t rip); | ||||
| void vm_exit_astpending(struct vcpu *vcpu, uint64_t rip); | void vm_exit_astpending(struct vcpu *vcpu, uint64_t rip); | ||||
| void vm_exit_reqidle(struct vcpu *vcpu, uint64_t rip); | void vm_exit_reqidle(struct vcpu *vcpu, uint64_t rip); | ||||
| int vm_snapshot_req(struct vm *vm, struct vm_snapshot_meta *meta); | int vm_snapshot_req(struct vm *vm, struct vm_snapshot_meta *meta); | ||||
| int vm_restore_time(struct vm *vm); | int vm_restore_time(struct vm *vm); | ||||
| int vm_get_dirty_page_list(struct vm *vm, struct vm_get_dirty_page_list *list); | |||||
| #ifdef _SYS__CPUSET_H_ | #ifdef _SYS__CPUSET_H_ | ||||
| /* | /* | ||||
| * Rendezvous all vcpus specified in 'dest' and execute 'func(arg)'. | * Rendezvous all vcpus specified in 'dest' and execute 'func(arg)'. | ||||
| * The rendezvous 'func(arg)' is not allowed to do anything that will | * The rendezvous 'func(arg)' is not allowed to do anything that will | ||||
| * cause the thread to be put to sleep. | * cause the thread to be put to sleep. | ||||
| * | * | ||||
| * The caller cannot hold any locks when initiating the rendezvous. | * The caller cannot hold any locks when initiating the rendezvous. | ||||
| ▲ Show 20 Lines • Show All 481 Lines • Show Last 20 Lines | |||||