summaryrefslogtreecommitdiff
path: root/tizen/src/emulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'tizen/src/emulator.c')
-rw-r--r--tizen/src/emulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c
index b1d6bab6c8..940e0d1409 100644
--- a/tizen/src/emulator.c
+++ b/tizen/src/emulator.c
@@ -240,7 +240,6 @@ const char *prepare_maru(const char * const kernel_cmdline)
void prepare_maru_after_device_init(void)
{
- make_vm_lock_os();
init_device_hotplug();
start_ecs();
@@ -308,6 +307,7 @@ static int emulator_main(int argc, char *argv[], char **envp)
set_bin_path_os(_qemu_argv[0]);
if (launch_conf_file) {
+ make_vm_lock_os(g_path_get_dirname(launch_conf_file));
if (!load_conf(launch_conf_file)) {
return -1;
}