mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
ACRNLog tries to open acrn_hvlog_last_* without check the presence of the device nodes at startup, which results a confusing message reporting "bad file descriptor" when there is no last device nodes exist. This commit fix the issue by checking the number of last devices before trying to open them. Tracked-On: #2787 Signed-off-by: Jiang Mao <maox.jiang@intel.com> Acked-by: Yan, Like <like.yan@intel.com>
13 KiB
13 KiB