mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-07-16 20:41:27 +00:00
The current code does not always check the return value of function ioctl called in ACRN userspace, and lack of error message printing to help debug. This code fixes it by checking the return value of ioctl, and adding function errormsg to return a string describing of the error code. Tracked-On: #7029 Signed-off-by: Wen Qian <qian.wen@intel.com> Signed-off-by: Li Fei <fei1.li@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>