ecs: separate cli vm searching
authorJinhyung Choi <jinh0.choi@samsung.com>
Tue, 20 Sep 2016 04:23:05 +0000 (13:23 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 21 Sep 2016 02:04:36 +0000 (11:04 +0900)
cannot find vm between old and later version by ecp cli
- old version: 2.3, 2.3.1
- later version: 2.3.2, 2.4, 3.0

Change-Id: I6833c03063573cb1329c74fce77cdafab12a5e58
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
tizen/src/ecs/ecs_msg_device.c

index 3000478..1cdbe91 100644 (file)
@@ -431,9 +431,6 @@ bool msgproc_device_req(ECS_Client *ccli, ECS__DeviceReq *msg)
 #endif
     } else if (!strcmp(cmd, "input")) {
         msgproc_device_req_input(ccli, msg, cmd);
-    } else if (!strcmp(cmd, "vmname")) {
-        const char *vmname = get_vm_name();
-        msgproc_device_ans(ccli, cmd, true, vmname);
     } else if (!strcmp(cmd, "vminfo")) {
         gchar vminfo[128];
         g_snprintf(vminfo, sizeof(vminfo) - 1, "%s %s %s",