From 4fb6ca1f3149c9a7859a80813fe4fad0a6c4d42f Mon Sep 17 00:00:00 2001 From: Munkyu Im Date: Tue, 8 Sep 2015 15:53:23 +0900 Subject: [PATCH] osutil: move making/checking vm lock position move it after initializing device. otherwise cannot get drive image path. Change-Id: I22c730a6410cd7cb36ee3c4830370b5616dbfdd7 Signed-off-by: Munkyu Im --- tizen/src/emulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c index ccb0c51b72..6f18a1d90b 100644 --- a/tizen/src/emulator.c +++ b/tizen/src/emulator.c @@ -253,8 +253,6 @@ const char *prepare_maru(const char * const kernel_cmdline) // It is safe to call socket_init() multiple times. socket_init(); init_vm_base_port(); - // try to lock ASAP - make_vm_lock_os(); // Assemble new kernel cmdline maru_kernel_cmdline = g_strdup_printf("%s sdb_port=%d, " @@ -268,6 +266,7 @@ 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(); init_sdb(get_emul_vm_base_port() + SDB_UDP_SENSOR_INDEX); -- 2.34.1