dm: verify the "iasl" version

This patch does:
- define IASL_MIN_VER in the top-level Makefile and pass it Device Model
- verify the "iasl" version at run time
  if "iasl" version is older than IASL_MIN_VER, refuse to launch the
  post-launched VM and exit directly.

Tracked-On: #7880

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Shiqing Gao
2022-07-04 09:47:59 +08:00
committed by acrnsi-robot
parent cc309bd973
commit 59b6d7b404
5 changed files with 48 additions and 1 deletions

View File

@@ -123,5 +123,6 @@ int lapic_to_pcpu(int lapic);
int parse_madt(void);
int acrn_parse_iasl(char *arg);
int get_iasl_compiler(void);
int check_iasl_version(void);
#endif /* _ACPI_H_ */