mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 21:09:54 +00:00
DM: release mem range allocated in init_pci
Two memory ranges are allocated: - PCI ECFG - PCI hole They should be released when deinit_pci. Old code mark this two ranges not unregistered. Which is wrong for warm reboot case. Make them could be unregistered. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -53,5 +53,6 @@ int emulate_mem(struct vmctx *ctx, struct mmio_request *mmio_req);
|
||||
int register_mem(struct mem_range *memp);
|
||||
int register_mem_fallback(struct mem_range *memp);
|
||||
int unregister_mem(struct mem_range *memp);
|
||||
int unregister_mem_fallback(struct mem_range *memp);
|
||||
|
||||
#endif /* _MEM_H_ */
|
||||
|
Reference in New Issue
Block a user