move it after initializing device.
otherwise cannot get drive image path.
Change-Id: I22c730a6410cd7cb36ee3c4830370b5616dbfdd7
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
// 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, "
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);