mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 05:49:17 +00:00
dm:use acrn-dm logger function instread of fprintf
use acrn-dm logger function instread of fprintf, 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:
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "mevent.h"
|
||||
#include "vmmapi.h"
|
||||
#include "log.h"
|
||||
|
||||
#define MEVENT_MAX 64
|
||||
|
||||
@@ -419,7 +420,7 @@ mevent_dispatch(void)
|
||||
*/
|
||||
pipev = mevent_add(mevent_pipefd[0], EVF_READ, mevent_pipe_read, NULL, NULL, NULL);
|
||||
if (!pipev) {
|
||||
fprintf(stderr, "pipefd mevent_add failed\n");
|
||||
pr_err("pipefd mevent_add failed\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user