dm:use acrn-dm logger function instread of printf

Use acrn-dm logger function instread of printf,
this helps the stability testing log capture.

Tracked-On: #4098
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Cao Minggui <minggui.cao@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Mingqiang Chi
2019-11-13 14:11:37 +08:00
committed by wenlingz
parent 22a1bd6948
commit 5375a1613b
22 changed files with 130 additions and 121 deletions

View File

@@ -3919,7 +3919,7 @@ pci_xhci_parse_log_level(struct pci_xhci_vdev *xdev, char *opts)
errout:
if (rc)
printf("USB: fail to set log level, rc=%d\r\n", rc);
pr_err("USB: fail to set log level, rc=%d\r\n", rc);
free(o);
return rc;
}
@@ -4086,7 +4086,7 @@ pci_xhci_parse_extcap(struct pci_xhci_vdev *xdev, char *opts)
errout:
if (rc)
printf("USB: fail to set vendor capability, rc=%d\r\n", rc);
pr_err("USB: fail to set vendor capability, rc=%d\r\n", rc);
free(o);
return rc;
}