path[j++] = qemu_argv[i];
}
path[j] = '\0';
- strcpy(tizen_target_path, path);
- strcpy(logfile, g_path_get_dirname(tizen_target_path));
+ if(!g_path_is_absolute(path))
+ strcpy(tizen_target_path, g_get_current_dir());
+ else
+ strcpy(tizen_target_path, g_path_get_dirname(path));
+
+ strcpy(logfile, tizen_target_path);
strcat(logfile, "/logs/emulator.log");
}
redir_output();
-
int i;
- char *option = NULL;
-
fprintf(stdout, "qemu args : ==========================================\n");
for(i = 0; i < qemu_argc; ++i)
{
#ifdef CONFIG_MARU
#include "tizen/src/maru_sdl.h"
#include "tizen/src/option.h"
-#include "tizen/src/sdb.h"
#endif
//#define DEBUG_NET
#ifdef CONFIG_MARU
#define VIRTIOGL_DEV_NAME "virtio-gl-pci"
-extern int tizen_base_port;
extern int gl_acceleration_capability_check (void);
#endif
vm_start();
}
-#ifdef CONFIG_MARU
- /* call sdb setup function */
- sdb_setup(tizen_base_port);
-#endif
-
os_setup_post();
resume_all_vcpus();