mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-30 23:16:40 +00:00
Misc: acrnctl: hot fix acrnctl bug
Currently, while there is no running post-launched User VM and user executes acrnctl command, he or she will get failure and error message is "/run/acrn/mngr doesn't exist". Root cause of this failure is acrnctl only check whether the folder "/run/acrn/mngr" exist or not, if this folder doesn't exist, will report failure. acrnd service will create the folder "/run/acrn/mngr", user should make sure acrnd service is started before using acrnctl This patch will update log message while the folder "/run/acrn/mngr" doesn't exist. v1-->v2: Update log message to make it clearer. Tracked-On: #6991 Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
parent
93ede38169
commit
4aeee0bebf
@ -115,7 +115,9 @@ static void _scan_alive_vm(void)
|
||||
|
||||
ret = check_dir(ACRN_DM_SOCK_PATH, CHK_ONLY);
|
||||
if (ret) {
|
||||
printf("%s: Failed to check directory %s, err: %d\n", __func__, ACRN_DM_SOCK_PATH, ret);
|
||||
printf("%s: Failed to check directory %s, err: %d\n\
|
||||
Make sure the acrnd daemon is running ('systemctl status acrnd').\n",
|
||||
__func__, ACRN_DM_SOCK_PATH, ret);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user