From: sungmin ha Date: Tue, 29 May 2012 12:14:09 +0000 (+0900) Subject: [Title]modified for changing sdcard storage X-Git-Tag: TizenStudio_2.0_p2.3~1460 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e1149a1eb27166e41105d501ee2fbf1d5bb8b38;p=sdk%2Femulator%2Fqemu.git [Title]modified for changing sdcard storage [Type]Enhancement [Module]qemu [Priority]Major [Jira#] // Jira Issue Number [Redmine#] // Redmine Isuue Number [Problem] // Problem Description [Cause] // Cause Description [Solution] // Solution Description [TestCase] // Executed the test-target (How to) --- diff --git a/tizen/src/guest_server.c b/tizen/src/guest_server.c index aa6415b..b4743a7 100644 --- a/tizen/src/guest_server.c +++ b/tizen/src/guest_server.c @@ -74,10 +74,10 @@ pthread_t start_guest_server( int server_port ) { } -/* get_tizen_vms_path = "/home/{USER}/.tizen_vms/" */ -char* get_tizen_vms_path(void) +/* get_tizen_vms_sdcard_path = "/home/{USER}/tizen_vms/sdcard" */ +char* get_tizen_vms_sdcard_path(void) { - char tizen_vms[] = "/tizen_vms/"; + char tizen_vms[] = "/tizen_vms/sdcard/"; #ifndef _WIN32 char *homedir = (char*)g_getenv("HOME"); #else @@ -182,12 +182,12 @@ static void* run_guest_server( void* args ) { } else if( atoi(ret) == 1 ) { /* mount sdcard */ char sdcard_path[256]; - char* vms_path = get_tizen_vms_path(); + char* vms_path = get_tizen_vms_sdcard_path(); memset(sdcard_path, '\0', sizeof(sdcard_path)); strcpy(sdcard_path, vms_path); - /* tizen_vms_path + sdcard img name */ + /* tizen_vms_sdcard_path + sdcard img name */ ret = strtok(NULL, token); strcat(sdcard_path, ret); INFO( "%s\n", sdcard_path);