Home
last modified time | relevance | path

Searched refs:logfile (Results 1 – 10 of 10) sorted by relevance

/xen-4.10.0-shim-comet/tools/tests/mce-test/lib/
A Dxen-mceinj-tool.sh60 [ -f $logfile ] || touch $logfile
237 local logfile=$case_dir/testlog
239 [ -f $logfile ] || touch $logfile
240 echo -e $* | tee -a $logfile > /dev/null
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_utils.c42 libxl_write_exactly(NULL, logfile, s, rc, NULL, NULL); in dolog()
273 CHK_SYSCALL(logfile = open(fullname, O_WRONLY|O_CREAT|O_APPEND, 0644)); in do_daemonize()
275 assert(logfile >= 3); in do_daemonize()
281 dup2(logfile, 1); in do_daemonize()
282 dup2(logfile, 2); in do_daemonize()
A Dxl.h224 extern int logfile;
A Dxl.c53 int logfile = 2; variable
A Dxl_vmcontrol.c1096 if (logfile != 2) in create_domain()
1097 close(logfile); in create_domain()
/xen-4.10.0-shim-comet/tools/console/daemon/
A Dio.c396 char logfile[PATH_MAX]; in create_hv_log() local
399 logfile[PATH_MAX-1] = '\0'; in create_hv_log()
401 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0644); in create_hv_log()
404 logfile, errno, strerror(errno)); in create_hv_log()
410 "in %s: %d (%s)", logfile, errno, in create_hv_log()
421 char logfile[PATH_MAX]; in create_console_log() local
444 snprintf(logfile, PATH_MAX-1, "%s/guest-%s%s.log", in create_console_log()
448 logfile[PATH_MAX-1] = '\0'; in create_console_log()
450 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0644); in create_console_log()
453 logfile, errno, strerror(errno)); in create_console_log()
[all …]
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_utils.c262 char *logfile, *logfile_new; in libxl_create_logfile() local
265 logfile = GCSPRINTF(XEN_LOG_DIR "/%s.log", name); in libxl_create_logfile()
266 if (stat(logfile, &stat_buf) == 0) { in libxl_create_logfile()
268 logfile = GCSPRINTF(XEN_LOG_DIR "/%s.log.10", name); in libxl_create_logfile()
269 unlink(logfile); in libxl_create_logfile()
271 logfile = GCSPRINTF(XEN_LOG_DIR "/%s.log.%d", name, i); in libxl_create_logfile()
273 rc = logrename(gc, logfile, logfile_new); in libxl_create_logfile()
277 logfile = GCSPRINTF(XEN_LOG_DIR "/%s.log", name); in libxl_create_logfile()
280 rc = logrename(gc, logfile, logfile_new); in libxl_create_logfile()
289 *full_name = strdup(logfile); in libxl_create_logfile()
A Dlibxl_bootloader.c356 bl->logfile = logfile_tmp; in libxl__bootloader_run()
360 bl->display.log = fopen(bl->logfile, "a"); in libxl__bootloader_run()
363 "failed to create bootloader logfile %s", bl->logfile); in libxl__bootloader_run()
649 "bootloader failed - consult logfile %s", bl->logfile); in bootloader_finished()
A Dlibxl_dm.c49 char *logfile; in libxl__create_qemu_logfile() local
52 rc = libxl_create_logfile(CTX, name, &logfile); in libxl__create_qemu_logfile()
55 logfile_w = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0644); in libxl__create_qemu_logfile()
58 LOGE(ERROR, "unable to open Qemu logfile: %s", logfile); in libxl__create_qemu_logfile()
59 free(logfile); in libxl__create_qemu_logfile()
63 free(logfile); in libxl__create_qemu_logfile()
A Dlibxl_internal.h3380 char *outputpath, *outputdir, *logfile; member

Completed in 37 milliseconds