mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-09 13:53:24 +00:00
When the "i915.enable_gvt=0" is added for SOS kernel boot args, ACRN-DM will fail in course of gvt initialization and errno is returned directly. As the errno defined in linux/errno.h is positive, it will continue the unexpected initialization in ACRN-DM and then the segment fault is triggered. So negative errno is returned in order to terminate the initialization. Tracked-On: #2584 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: He, Min <min.he@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>