mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: add vm restart API
And export the API to DM. DM will do system reboot/S3 resume based on this API. Also add the pre-assumption description for some vm APIs. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -173,6 +173,7 @@ void pause_vm(struct vm *vm);
|
||||
void resume_vm(struct vm *vm);
|
||||
void resume_vm_from_s3(struct vm *vm, uint32_t wakeup_vec);
|
||||
int start_vm(struct vm *vm);
|
||||
int reset_vm(struct vm *vm);
|
||||
int create_vm(struct vm_description *vm_desc, struct vm **vm);
|
||||
int prepare_vm0(void);
|
||||
#ifdef CONFIG_VM0_DESC
|
||||
|
Reference in New Issue
Block a user