Changeset View
Changeset View
Standalone View
Standalone View
lib/libvmmapi/vmmapi.h
Show First 20 Lines • Show All 259 Lines • ▼ Show 20 Lines | |||||
int vm_setup_freebsd_registers_i386(struct vcpu *vcpu, | int vm_setup_freebsd_registers_i386(struct vcpu *vcpu, | ||||
uint32_t eip, uint32_t gdtbase, | uint32_t eip, uint32_t gdtbase, | ||||
uint32_t esp); | uint32_t esp); | ||||
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 vmctx *ctx, struct vm_snapshot_meta *meta); | ||||
int vm_restore_time(struct vmctx *ctx); | int vm_restore_time(struct vmctx *ctx); | ||||
/* | /* | ||||
* Deprecated interfaces, do not use them in new code. | * Deprecated interfaces, do not use them in new code. | ||||
*/ | */ | ||||
int vm_get_device_fd(struct vmctx *ctx); | int vm_get_device_fd(struct vmctx *ctx); | ||||
const cap_ioctl_t *vm_get_ioctls(size_t *len); | const cap_ioctl_t *vm_get_ioctls(size_t *len); | ||||
__END_DECLS | __END_DECLS | ||||
#endif /* _VMMAPI_H_ */ | #endif /* _VMMAPI_H_ */ |