mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-03-18 11:04:12 +00:00
At run time (on the *target* machine), acrn-dm depends on "iasl" to build the ACPI tables for post-launched VMs. This patch does: - remove the dependency on ASL_COMPILER, which would only be used at build time - add a new acrn-dm parameter "--iasl <iasl_compiler_path>" If "--iasl <iasl_compiler_path>" is specified as the acrn-dm parameter, acrn-dm uses <iasl_compiler_path> as the path to the "iasl" compiler; otherwise, "which iasl" is used to detect the "iasl" compiler. If "iasl" is not found at run time, refuse to launch the post-launched VM and exit directly. v2 -> v3: - use "strlen" rather than "strncmp" to check whether asl_compiler has been set or not v1 -> v2: - remove "iasl_param" and "with_iasl_param" to simplify the logic Tracked-On: #7880 Signed-off-by: Victor Sun <victor.sun@intel.com> Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>