hv: change several APIs to void type

Change these 6 APIs to void type:
  init_default_irqs
  interrupt_init
  early_init_lapic
  init_lapic
  init_iommu
  destroy_iommu_domain
It has checked the argument of destroy_iommu_domain in shutdown_vm,
then no need to check it again inside destroy_iommu_domain.

Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Mingqiang Chi
2018-07-17 09:41:08 +08:00
committed by wenlingz
parent 8017ebdf82
commit aa2b2d80d4
8 changed files with 24 additions and 58 deletions

View File

@@ -480,7 +480,7 @@ struct iommu_domain *create_iommu_domain(uint16_t vm_id,
uint64_t translation_table, uint32_t addr_width);
/* Destroy the iommu domain */
int destroy_iommu_domain(struct iommu_domain *domain);
void destroy_iommu_domain(struct iommu_domain *domain);
/* Enable translation of iommu*/
void enable_iommu(void);
@@ -495,5 +495,5 @@ void suspend_iommu(void);
void resume_iommu(void);
/* iommu initialization */
int init_iommu(void);
void init_iommu(void);
#endif