mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
HV: vuart: add vuart_deinit during vm shutdown
Add vuart_deinit to vm shutdown so that the vuart resource can be reset, and when the Guest VM restart, it could have right state. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
81cbc63646
commit
376fcddff8
@ -564,6 +564,8 @@ int32_t shutdown_vm(struct acrn_vm *vm)
|
|||||||
|
|
||||||
vpci_cleanup(vm);
|
vpci_cleanup(vm);
|
||||||
|
|
||||||
|
vuart_deinit(vm);
|
||||||
|
|
||||||
ptdev_release_all_entries(vm);
|
ptdev_release_all_entries(vm);
|
||||||
|
|
||||||
/* Free iommu */
|
/* Free iommu */
|
||||||
|
Loading…
Reference in New Issue
Block a user