Changeset View
Changeset View
Standalone View
Standalone View
lib/libvmmapi/vmmapi.h
Show First 20 Lines • Show All 256 Lines • ▼ Show 20 Lines | |||||
void vm_setup_freebsd_gdt(uint64_t *gdtr); | void vm_setup_freebsd_gdt(uint64_t *gdtr); | ||||
/* | /* | ||||
* Save and restore | * Save and restore | ||||
*/ | */ | ||||
int vm_snapshot_req(struct vm_snapshot_meta *meta); | int vm_snapshot_req(struct vm_snapshot_meta *meta); | ||||
int vm_restore_time(struct vmctx *ctx); | int vm_restore_time(struct vmctx *ctx); | ||||
int vm_get_pages_num(struct vmctx *ctx, size_t *lowmem_pages, | |||||
size_t *highmem_pages); | |||||
int vm_set_vmm_migration_segments(struct vmctx *ctx, | |||||
struct vmm_migration_segment *lowmem, | |||||
struct vmm_migration_segment *highmem); | |||||
int vm_get_dirty_page_list(struct vmctx *ctx, char *page_list, size_t num); | |||||
int vm_copy_vmm_pages(struct vmctx *ctx, | |||||
struct vmm_migration_pages_req *pages_req); | |||||
int vm_init_vmm_migration_pages_req(struct vmctx *ctx, | |||||
struct vmm_migration_pages_req *req); | |||||
#endif /* _VMMAPI_H_ */ | #endif /* _VMMAPI_H_ */ |