mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-07 20:52:41 +00:00
If module acrn_hvlog is configured as "m" and we don't insert it before launching acrnlog tool, acrnlog will run normally instead of throw out an error in current implementation. And no log files are generated. It will cause confusing here. So, this patch throw out an error massage to user about the absence of acrn hvlog devices. BTW, this patch replaces cpuid/num related concept to devid/cnt which is more suitable for /dev/acrn_hvlog_xxx. Tracked-On: #1975 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Yan, Like <like.yan@intel.com>
13 KiB
13 KiB