Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/vmm.h
Show All 29 Lines | |||||
#ifndef _VMM_H_ | #ifndef _VMM_H_ | ||||
#define _VMM_H_ | #define _VMM_H_ | ||||
#include <sys/sdt.h> | #include <sys/sdt.h> | ||||
#include <x86/segments.h> | #include <x86/segments.h> | ||||
struct vm_snapshot_meta; | struct vm_snapshot_meta; | ||||
struct vm_get_dirty_page_list; | |||||
struct vmm_migration_pages_req; | |||||
#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 236 Lines • ▼ Show 20 Lines | |||||
struct vm_exit *vm_exitinfo(struct vm *vm, int vcpuid); | struct vm_exit *vm_exitinfo(struct vm *vm, int vcpuid); | ||||
void vm_exit_suspended(struct vm *vm, int vcpuid, uint64_t rip); | void vm_exit_suspended(struct vm *vm, int vcpuid, uint64_t rip); | ||||
void vm_exit_debug(struct vm *vm, int vcpuid, uint64_t rip); | void vm_exit_debug(struct vm *vm, int vcpuid, uint64_t rip); | ||||
void vm_exit_rendezvous(struct vm *vm, int vcpuid, uint64_t rip); | void vm_exit_rendezvous(struct vm *vm, int vcpuid, uint64_t rip); | ||||
void vm_exit_astpending(struct vm *vm, int vcpuid, uint64_t rip); | void vm_exit_astpending(struct vm *vm, int vcpuid, uint64_t rip); | ||||
void vm_exit_reqidle(struct vm *vm, int vcpuid, uint64_t rip); | void vm_exit_reqidle(struct vm *vm, int vcpuid, 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); | |||||
int vm_copy_vmm_pages(struct vm *vm, struct vmm_migration_pages_req *pages_req); | |||||
#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. | ||||
* | * | ||||
* If the rendezvous is being initiated from a vcpu context then the | * If the rendezvous is being initiated from a vcpu context then the | ||||
▲ Show 20 Lines • Show All 479 Lines • Show Last 20 Lines |