mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-08 13:23:22 +00:00
To avoid PTY device symbol link failure due to non-exist directory passed from parameter. Add check_dir function to check the directory and create it if not exist. Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>