diff options
author | Jinhyung Choi <jinh0.choi@samsung.com> | 2016-08-09 12:00:55 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2016-08-12 12:02:47 +0900 |
commit | c489908c26a38ef9c5663cb35b2104847fbd94d2 (patch) | |
tree | f8b22539a342905f564d9c7165de99e12ca378e5 /tizen/src/ecs | |
parent | dcb16492ef980edabe5c40493b56b057d94d5b07 (diff) | |
download | qemu-c489908c26a38ef9c5663cb35b2104847fbd94d2.tar.gz qemu-c489908c26a38ef9c5663cb35b2104847fbd94d2.tar.bz2 qemu-c489908c26a38ef9c5663cb35b2104847fbd94d2.zip |
ecs: add vminfo command for ECP CLI
Emulator Control Panel CLI is moved to common tools directory.
Profile and version information is necessary to run it.
Change-Id: I79983dd6302396a8be4bc3307217aec63e9ea5dd
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
Diffstat (limited to 'tizen/src/ecs')
-rw-r--r-- | tizen/src/ecs/ecs_msg_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tizen/src/ecs/ecs_msg_device.c b/tizen/src/ecs/ecs_msg_device.c index 860e32d3fc..3000478bde 100644 --- a/tizen/src/ecs/ecs_msg_device.c +++ b/tizen/src/ecs/ecs_msg_device.c @@ -434,6 +434,11 @@ bool msgproc_device_req(ECS_Client *ccli, ECS__DeviceReq *msg) } 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", + get_vm_name(), get_profile_name(), get_platform_version()); + msgproc_device_ans(ccli, cmd, true, vminfo); } else if (!strcmp(cmd, "nfc")) { msgproc_device_req_nfc(ccli, msg); } else if (!strcmp(cmd, "sdcard")) { |