From: Jinhyung Choi Date: Mon, 9 Feb 2015 06:24:48 +0000 (+0900) Subject: evdi: WA - support mobile profile (emuld connection) X-Git-Tag: TizenStudio_2.0_p2.3.1~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40e2895ef1d785a204065559528badedab46022f;p=sdk%2Femulator%2Femulator-kernel.git evdi: WA - support mobile profile (emuld connection) Change-Id: I2454471e9b70d35fdb2b200fd35b6669a23a7f64 Signed-off-by: Jinhyung Choi --- diff --git a/drivers/maru/maru_virtio_evdi.c b/drivers/maru/maru_virtio_evdi.c index dd65316b7578..4b09071c74da 100644 --- a/drivers/maru/maru_virtio_evdi.c +++ b/drivers/maru/maru_virtio_evdi.c @@ -201,6 +201,8 @@ static void send_guest_connected_msg(bool connected) int err; struct msg_info* _msg; char connect = (char)connected; + char temp = 1; + if (vevdi == NULL) { LOGERR("invalid evdi handle\n"); return; @@ -211,6 +213,7 @@ static void send_guest_connected_msg(bool connected) memset(_msg, 0, sizeof(vevdi->send_msginfo)); memcpy(_msg->buf, GUEST_CONNECTION_CATEGORY, 7); + memcpy(_msg->buf + ID_SIZE + 2, &temp, 1); memcpy(_msg->buf + ID_SIZE + 3, &connect, 1); _msg->route = route_control_server; _msg->use = ID_SIZE + HEADER_SIZE; @@ -257,7 +260,7 @@ static int evdi_open(struct inode* inode, struct file* filp) evdi_info->guest_connected = true; - //send_guest_connected_msg(true); + send_guest_connected_msg(true); ret = _make_buf_and_kick(); if (ret < 0)