SeokYeon Hwang [Tue, 25 Nov 2014 04:27:18 +0000 (13:27 +0900)]
util: fixed unused pointer value
Fixed unused pointer value. It causes memory leak.
Change-Id: I28a3438c7a36b6bbf4b75db492a94300417b9632
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Kitae Kim [Mon, 24 Nov 2014 11:52:34 +0000 (20:52 +0900)]
package: version up
2.0.13
Change-Id: I90b43e4ec256a889914084b858b8144d9ae66cf2
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Kitae Kim [Fri, 21 Nov 2014 09:46:26 +0000 (18:46 +0900)]
hax: fix compliation errors
Change-Id: I074afda02a8710c3efb301fc13759bd6801b768a
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Kitae Kim [Fri, 21 Nov 2014 06:52:51 +0000 (15:52 +0900)]
Merge branch 'features/smp' into tizen_next
Conflicts:
exec.c
target-i386/hax-all.c
target-i386/hax-darwin.c
target-i386/hax-windows.c
tizen/src/emulator.c
tizen/src/emulator.h
vl.c
Change-Id: Iba98ee338dc385c4d1129eed0c37e2a185b4d851
Sooyoung Ha [Thu, 20 Nov 2014 07:02:54 +0000 (16:02 +0900)]
debugch: modify the emulator log print format.
log shows the time resolution to milliseconds
fix the debug class output name length to 4 characters
limit the debug channel name length to 10 characters
remove the useless prefix of debug channel name
Change-Id: I82ffaa15d834fde005bf7859fd3b41545a2438e9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Thu, 20 Nov 2014 05:41:10 +0000 (21:41 -0800)]
Merge "hax: fix wrong printf format for target_ulong." into features/smp
Sangho Park [Thu, 20 Nov 2014 00:49:55 +0000 (16:49 -0800)]
Merge "hax: HAX is initialized more sophisticated way" into features/smp
SeokYeon Hwang [Fri, 7 Nov 2014 05:58:19 +0000 (14:58 +0900)]
hax: HAX is initialized more sophisticated way
Did not bother TCG initialization.
Removed redundant condition fields.(hax_disabled, hax_support)
Used small TB buffer for non-UG platform.
Change-Id: I6e0a9af12abf7e9399198440bc485f70453ce9c8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Kitae Kim [Tue, 18 Nov 2014 04:43:30 +0000 (13:43 +0900)]
hax: fix wrong printf format for target_ulong.
Change-Id: Icb85046d78adabb1dc15c23d87f0639df8c40a14
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
SeokYeon Hwang [Tue, 18 Nov 2014 03:05:14 +0000 (19:05 -0800)]
Merge "Hax: added HAXM non-UG platform support back" into features/smp
David Chou [Sat, 8 Nov 2014 01:11:56 +0000 (17:11 -0800)]
Hax: added HAXM non-UG platform support back
Added HAXM non-UG platform support back.
Skipped tcg initilization for UG platform with HAXM enabled.
Change-Id: If909b19b4e7c4d65cb35784f86ca90b462c3302a
Signed-off-by: David Chou <david.j.chou@intel.com>
GiWoong Kim [Fri, 14 Nov 2014 08:30:38 +0000 (17:30 +0900)]
ui: modified emulator icon path on Windows
Change-Id: I395b59733ee8141da8d12014001d19ee0c4362fe
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
SeokYeon Hwang [Thu, 13 Nov 2014 06:38:01 +0000 (22:38 -0800)]
Merge "ecs: display type checking" into tizen_next
GiWoong Kim [Thu, 6 Nov 2014 10:31:00 +0000 (19:31 +0900)]
ecs: display type checking
ifndef CONFIG_USE_SHM -> indef CONFIG_SDL
And delete unused define
Change-Id: I96bfaa7c4f93b6780cfeaa2b2e7e2686467477b6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Tue, 4 Nov 2014 06:18:37 +0000 (15:18 +0900)]
ui: Tizen icon apply to Emulator on Windows
Change-Id: I3f36ae0581466ddfdaa662c94bdc2efec3531fc8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
SeokYeon Hwang [Mon, 10 Nov 2014 08:45:20 +0000 (00:45 -0800)]
Merge "web-viewer: modified server script name(emul to tty.js)" into tizen_next
SeokYeon Hwang [Fri, 7 Nov 2014 02:42:34 +0000 (11:42 +0900)]
Revert "hax: for testing..."
This reverts commit
57a0d655687a503ab76db51942543c9b8812a941.
SeokYeon Hwang [Fri, 7 Nov 2014 02:40:37 +0000 (11:40 +0900)]
hax: for testing...
Change-Id: Ia5f03db254b576e0f3847df52f9e4fde2f9c65b7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Thu, 6 Nov 2014 11:23:51 +0000 (03:23 -0800)]
Merge "package: added install dependency for spice-protocol and spice-vdagent" into tizen_next
SeokYeon Hwang [Thu, 6 Nov 2014 11:23:44 +0000 (03:23 -0800)]
Merge "package: version up(2.0.12)" into tizen_next
SeokYeon Hwang [Thu, 6 Nov 2014 11:23:10 +0000 (03:23 -0800)]
Merge "YaGL: Modified the logs when the device is initialized" into tizen_next
sungmin ha [Thu, 6 Nov 2014 05:38:26 +0000 (14:38 +0900)]
web-viewer: modified server script name(emul to tty.js)
Change-Id: I51104a3787ca95afd881633bae15d5b96d6b1994
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
yucheng yu [Fri, 31 Oct 2014 19:50:28 +0000 (12:50 -0700)]
hax: fixed missing interrupt, removed earlier work-around.
Fixed high cpu utilization.
Change-Id: I3e705fecb4bb95c01898eac19022b71dd6dd5172
Signed-off-by: yucheng yu <yu-cheng.yu@intel.com>
sungmin ha [Wed, 5 Nov 2014 06:54:49 +0000 (15:54 +0900)]
package: version up(2.0.12)
Change-Id: I096428228f16a878858d1c4366fe38570e11590e
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
sungmin ha [Wed, 5 Nov 2014 06:45:08 +0000 (15:45 +0900)]
package: added install dependency for spice-protocol and spice-vdagent
Change-Id: Ia0f62f5e1090c6374884e0f354b83a42e937f40d
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
jinhyung.jo [Fri, 31 Oct 2014 06:05:55 +0000 (15:05 +0900)]
YaGL: Modified the logs when the device is initialized
Correct the log position that developers can be recognized as a wrong meaning.
Change-Id: I4fa2e9e046913cd0c3cba15072b9dc9dfee67c34
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
minkee.lee [Wed, 5 Nov 2014 08:35:58 +0000 (17:35 +0900)]
Check-gl: Modified install script.
- If install manager is run with CLI, check-gl warning is
written in log instead of displaying dialog.
Change-Id: Ic052f93eae83d23fdba7b7a2bd96c306c018f00d
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
SeokYeon Hwang [Mon, 3 Nov 2014 02:19:33 +0000 (18:19 -0800)]
Merge "spice: added thread for rpm package installation and spice-vdagent execution" into tizen
SeokYeon Hwang [Mon, 3 Nov 2014 01:56:57 +0000 (17:56 -0800)]
Merge "git: add *.dylib, .DS_Store file to .gitignore" into tizen
Sangho Park [Fri, 31 Oct 2014 10:28:39 +0000 (03:28 -0700)]
Merge "display: select display type with display options." into tizen
GiWoong Kim [Wed, 29 Oct 2014 11:59:50 +0000 (20:59 +0900)]
git: add *.dylib, .DS_Store file to .gitignore
Change-Id: Ief52a55a1542f6dbd933366b1e593baf84df5232
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
sungmin ha [Thu, 30 Oct 2014 07:36:59 +0000 (16:36 +0900)]
spice: added thread for rpm package installation and spice-vdagent execution
Change-Id: Ib3260b6bc5289eb7eb53fa2fedfa4277d95f8aea
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
SeokYeon Hwang [Wed, 29 Oct 2014 11:48:16 +0000 (04:48 -0700)]
Merge "Check-gl: Modified install script." into tizen
SeokYeon Hwang [Wed, 29 Oct 2014 11:45:54 +0000 (04:45 -0700)]
Merge "osutil: Change os dependent variable" into tizen
GiWoong Kim [Wed, 29 Oct 2014 04:50:03 +0000 (13:50 +0900)]
display: select display type with display options.
Select display type with display options - DT_MARU_SDL, DT_MARU_SHM.
Clean-up definitions and display type names.
Change-Id: I67a551db1d39e39afa49b92d3ac65ac8b4946b40
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
jinhyung.jo [Tue, 28 Oct 2014 09:22:13 +0000 (18:22 +0900)]
check-gl: remove the error pop-up & exit code
Remove error routine when the GL driver is Gallium.
Change-Id: Ic50b6cbf61e334e3e9c6727356257d436ad11445
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
SeokYeon Hwang [Wed, 29 Oct 2014 06:20:19 +0000 (23:20 -0700)]
Merge "menu: add null checking" into tizen
minkee.lee [Tue, 28 Oct 2014 13:00:32 +0000 (22:00 +0900)]
Check-gl: Modified install script.
- Removed /bin/bash's '-e' option to handle the check_gl return value.
Install script with '-e' option terminates when check_gl return non-zero
and rest of script become a dead code.
Change-Id: Ie7369b2b792bdd1459ae9c9102216f9f4cd20d20
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
SeokYeon Hwang [Tue, 28 Oct 2014 11:41:46 +0000 (04:41 -0700)]
Merge "9pfs: modify variable name because of readability" into tizen
Munkyu Im [Tue, 28 Oct 2014 09:29:26 +0000 (18:29 +0900)]
osutil: Change os dependent variable
Not use "#define... #endif" but use extern variable.
Change-Id: I4e63ef019bfc42af4d0aaf440257c77bb39a37fe
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
GiWoong Kim [Mon, 27 Oct 2014 01:12:37 +0000 (10:12 +0900)]
menu: add null checking
Change-Id: If600835393ed1cca5815bff2c9b77fdc853f84f5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
SeokYeon Hwang [Tue, 28 Oct 2014 08:30:27 +0000 (01:30 -0700)]
Merge "osutil: remove "inline" identifier from sdcard lock functions" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:13:33 +0000 (01:13 -0700)]
Merge "9pfs: fix compilation errors on Mac OS X." into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:13:21 +0000 (01:13 -0700)]
Merge "eventcast: fix an infinite loop of notifier routine." into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:10:05 +0000 (01:10 -0700)]
Merge "hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:09:56 +0000 (01:09 -0700)]
Merge "hw/net/ne2000-isa: Register vmstate struct" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:09:46 +0000 (01:09 -0700)]
Merge "hw/net/eepro100: Implement read-only bits in MDI registers" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:09:35 +0000 (01:09 -0700)]
Merge "slirp: Remove unused zero_ethaddr[] variable" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:09:24 +0000 (01:09 -0700)]
Merge "block/vhdx.c: Mark parent_vhdx_guid variable as unused" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:09:12 +0000 (01:09 -0700)]
Merge "util/qemu-sockets.c: Avoid unused variable warnings" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:08:59 +0000 (01:08 -0700)]
Merge "board: remove unused variables" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:08:29 +0000 (01:08 -0700)]
Merge changes I1d5ce226,Ic4d64833 into tizen
* changes:
target-i386/translate.c: Remove unused tcg_gen_lshift()
maru_shm: consider unsigned short
Kitae Kim [Tue, 28 Oct 2014 05:27:51 +0000 (13:27 +0800)]
9pfs: modify variable name because of readability
Same variable names are used between char * and V9fsState type.
Even if path is applied to only if-else statement, it could be confusing.
Change-Id: I1a3db3fd366514f48b2c4f693159b5328d04c4e4
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
yucheng yu [Fri, 24 Oct 2014 23:46:19 +0000 (16:46 -0700)]
hax: changed hax_lest_version and hax_cur_version to enforce newer haxm version.
Change-Id: I4fb3bcc00b11ff51f85d5ab12878a6936c7e70ed
Signed-off-by: yucheng yu <yu-cheng.yu@intel.com>
SeokYeon Hwang [Tue, 28 Oct 2014 04:01:52 +0000 (13:01 +0900)]
osutil: remove "inline" identifier from sdcard lock functions
"make_sdcard_lock_posix()" and "remove_sdcard_lock_posix()" uses DEBUGCH for logging. It can produce compilation warnings because DEBUGCH macro access static variables.
Change-Id: I9bc0d670d0751dd971b070e3a3ad8d2acbff97f4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Peter Maydell [Thu, 29 May 2014 11:01:49 +0000 (12:01 +0100)]
hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables
The variables parallel_io and parallel_irq are unused; delete them.
Change-Id: Idfe0a89c5c48e6000f717d883b2e27c69bfe676f
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Peter Maydell [Sat, 7 Jun 2014 16:53:11 +0000 (17:53 +0100)]
hw/net/ne2000-isa: Register vmstate struct
The ne2000-isa device defines a VMState struct for migration, but
we forgot to actually register it. Correct this deficiency by
setting dc->vmsd.
Change-Id: I6f82f7cdb0de1f52e64fb80a7a8cb22e5aa23761
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Peter Maydell [Mon, 9 Jun 2014 15:03:08 +0000 (16:03 +0100)]
hw/net/eepro100: Implement read-only bits in MDI registers
Although we defined an eepro100_mdi_mask[] array indicating which bits
in the registers are read-only, we weren't actually doing anything with
it. Make the MDI register-write code use it rather than manually making
register 1 read-only and leaving the rest as reads-as-written. (The
special-case handling of register 0 remains as before since its mask is
all-zeros and the special casing happens before we apply the masking.)
Change-Id: I28b6ee4691f5e8c325430eb429bee1b06c9a818e
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
1402159924-13853-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Peter Maydell [Thu, 29 May 2014 10:59:26 +0000 (11:59 +0100)]
slirp: Remove unused zero_ethaddr[] variable
The zero_ethaddr[] array is never used; delete it.
Change-Id: I20b166d01b3203f4370ebe66db8c659a1f8ea9c0
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Peter Maydell [Sun, 14 Sep 2014 19:29:59 +0000 (20:29 +0100)]
block/vhdx.c: Mark parent_vhdx_guid variable as unused
The parent_vhdx_guid variable is defined but never used, which provokes
complaints from newer versions of clang. Since the variable definition
is here acting as documentation of the image format, mark it with the
'unused' attribute to keep the compiler happy rather than simply
deleting it.
Change-Id: I9748b3b20922666e5f2efceb80e37e99ea3430ce
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Peter Maydell [Sat, 7 Jun 2014 16:48:03 +0000 (17:48 +0100)]
util/qemu-sockets.c: Avoid unused variable warnings
The 'on' variable is never used, and 'off' is only used
if IPV6_V6ONLY is defined; delete 'on' and move 'off' to
the point where it is used. This avoids warnings from
clang 3.4.
Change-Id: Ia886bd9b95c0b019d5808834cf704bc97a3cd312
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
GiWoong Kim [Tue, 28 Oct 2014 02:36:59 +0000 (11:36 +0900)]
board: remove unused variables
Change-Id: I65b217e2c3a54750d8bb25cf17af3df9869049a1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Kitae Kim [Tue, 28 Oct 2014 01:52:53 +0000 (10:52 +0900)]
9pfs: fix compilation errors on Mac OS X.
in case of Mac OS X, mode_t type is unsigned short.
So, -1 cannot be compared to mode_t type.
Change-Id: Iad1e4a1049e14de0575ed6da11b339ed9045b12d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Peter Maydell [Sat, 7 Jun 2014 17:04:55 +0000 (18:04 +0100)]
target-i386/translate.c: Remove unused tcg_gen_lshift()
The function tcg_gen_lshift() is unused; remove it.
Change-Id: I1d5ce226649ee2f576698ad7639f7606c3861198
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Kitae Kim [Mon, 27 Oct 2014 05:11:03 +0000 (14:11 +0900)]
eventcast: fix an infinite loop of notifier routine.
Whenever a client connects to a server, notifier function is registered to notifier_list repeatedly.
It makes emulator become infinite loop state when emulator is terminated.
Change-Id: Ib7c92c03bb659290df5434c17822db08b2fa60a8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
GiWoong Kim [Mon, 27 Oct 2014 11:34:13 +0000 (20:34 +0900)]
maru_shm: consider unsigned short
Change-Id: Ic4d64833a9ca1c57a59136d23fd3de4e97f4f618
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Munkyu Im [Fri, 24 Oct 2014 07:00:55 +0000 (16:00 +0900)]
ecs: Size up location data buffer
location data needs more buffer size.
Change-Id: I63570b9f424d8e2d624b60b696486dbd909c4f04
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Munkyu Im [Fri, 24 Oct 2014 06:21:59 +0000 (15:21 +0900)]
osutil: add #ifdef, #endif
This caused compilation error on Windows.
So surround with #ifdef and #endif
Change-Id: Idd42249fc26c9bb0c619505241be667a2253e88d
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
SeokYeon Hwang [Fri, 24 Oct 2014 05:14:52 +0000 (22:14 -0700)]
Merge "sdcard: Allow only one attach for the same sdcard image" into tizen
Munkyu Im [Wed, 22 Oct 2014 09:45:38 +0000 (18:45 +0900)]
sdcard: Allow only one attach for the same sdcard image
Implemented file locking when attach/detach sdcard.
During one user attach a image, other user cannot attach it.
Change-Id: I6f0a971c8114048412583acc3daec0f7ac6dc965
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Sangho Park [Thu, 23 Oct 2014 14:23:39 +0000 (07:23 -0700)]
Merge "enable yagl/vigs support independently of enabling maru" into tizen
SeokYeon Hwang [Thu, 23 Oct 2014 09:21:40 +0000 (02:21 -0700)]
Merge "ecs: bug fixed of header include in windows" into tizen
Ewan Le Bideau-Canévet [Tue, 21 Oct 2014 08:28:54 +0000 (10:28 +0200)]
enable yagl/vigs support independently of enabling maru
Change-Id: I44ff9220c1627be8fcbae9f7b71177832db3339d
Signed-off-by: Ewan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
SeokYeon Hwang [Thu, 23 Oct 2014 07:31:51 +0000 (00:31 -0700)]
Merge "menu: add null checking" into tizen
GiWoong Kim [Thu, 23 Oct 2014 02:33:36 +0000 (11:33 +0900)]
menu: add null checking
Change-Id: Ie775be73ace5a5270745c43384c746c49d767b19
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Jinhyung Choi [Thu, 23 Oct 2014 05:30:16 +0000 (14:30 +0900)]
ecs: bug fixed of header include in windows
Change-Id: I53b84583336897221b7f5e9e8f081581ec05e63c
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
Kitae Kim [Tue, 21 Oct 2014 01:42:14 +0000 (10:42 +0900)]
brillcodec: initialized AVPacket variable.
there is a case when AVPacket variable can be used without initialization.
Change-Id: I973cb1f39ae2c7c5fc40cefe99751587a33373d5
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Kitae Kim [Thu, 23 Oct 2014 02:09:57 +0000 (11:09 +0900)]
emulator_option: fix resource leak.
it did not close file handle when returning value.
Change-Id: I6d0defdfa8ca1fb5e477f5b8b1f44ad82124ba5b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
SeokYeon Hwang [Wed, 22 Oct 2014 04:31:23 +0000 (21:31 -0700)]
Merge "VIGS & YaGL: Fixed the incorrect condition" into tizen
SeokYeon Hwang [Tue, 21 Oct 2014 11:22:04 +0000 (04:22 -0700)]
Merge "Check-GL: Added check-gl pop-up when install SDK in Ubuntu." into tizen
jinhyung.jo [Tue, 21 Oct 2014 04:27:16 +0000 (13:27 +0900)]
VIGS & YaGL: Fixed the incorrect condition
Fix a wrong variable name, dobj -> wqobj.
Change-Id: I7dbd5e110e747343aeefb29c23ab4d28d35c873b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
minkee.lee [Mon, 20 Oct 2014 10:21:06 +0000 (19:21 +0900)]
Check-GL: Added check-gl pop-up when install SDK in Ubuntu.
Change-Id: Ic79803a622d397ad52ce79fcce0aff1afe8b63cb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
jinhyung.jo [Mon, 20 Oct 2014 11:48:55 +0000 (20:48 +0900)]
check-gl: Modified check-gl
Add the routine to check GL driver vendor on Ubuntu
Change-Id: I373dcbbf61e6d0a71ec33fd968771ff526481341
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
SeokYeon Hwang [Mon, 20 Oct 2014 08:59:08 +0000 (01:59 -0700)]
Merge "configure: remove --disable-coroutine-pool on Windows" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 08:58:53 +0000 (01:58 -0700)]
Merge "coroutine-win32.c: Add noinline attribute to work around gcc bug" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 08:51:48 +0000 (01:51 -0700)]
Merge changes I9c02562a,I49a29543,I3a3b2a36 into tizen
* changes:
eventcast: fix build error on Mac OS X.
virtio-9p: improve error message routine.
maru_err_table: prevent double free case.
SeokYeon Hwang [Mon, 20 Oct 2014 08:31:47 +0000 (01:31 -0700)]
Merge "hds: added "Host Directory Sharing" feature" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 08:28:46 +0000 (01:28 -0700)]
Merge "eventcast: add evencast_ define" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 06:44:09 +0000 (15:44 +0900)]
configure: remove --disable-coroutine-pool on Windows
Change-Id: I02c3e4c787a79164fc3ce3fd32679182f5d47b94
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Peter Maydell [Mon, 23 Jun 2014 14:55:03 +0000 (15:55 +0100)]
coroutine-win32.c: Add noinline attribute to work around gcc bug
A gcc codegen bug in x86_64-w64-mingw32-gcc (GCC) 4.6.3 means that
non-debug builds of QEMU for Windows tend to assert when using
coroutines. Work around this by marking qemu_coroutine_switch
as noinline.
If we allow gcc to inline qemu_coroutine_switch into
coroutine_trampoline, then it hoists the code to get the
address of the TLS variable "current" out of the while() loop.
This is an invalid transformation because the SwitchToFiber()
call may be called when running thread A but return in thread B,
and so we might be in a different thread context each time
round the loop. This can happen quite often. Typically.
a coroutine is started when a VCPU thread does bdrv_aio_readv:
VCPU thread
main VCPU thread coroutine I/O coroutine
bdrv_aio_readv ----->
start I/O operation
thread_pool_submit_co
<------------ yields
back to emulation
Then I/O finishes and the thread-pool.c event notifier triggers in
the I/O thread. event_notifier_ready calls thread_pool_co_cb, and
the I/O coroutine now restarts *in another thread*:
iothread
main iothread coroutine I/O coroutine (formerly in VCPU thread)
event_notifier_ready
thread_pool_co_cb -----> current = I/O coroutine;
call AIO callback
But on Win32, because of the bug, the "current" being set here the
current coroutine of the VCPU thread, not the iothread.
noinline is a good-enough workaround, and quite unlikely to break in
the future.
(Thanks to Paolo Bonzini for assistance in diagnosing the problem
and providing the detailed example/ascii art quoted above.)
Change-Id: I4a5f4960be4691f6e5d5ad7de7731e14ab594312
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
1403535303-14939-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Kitae Kim [Fri, 17 Oct 2014 07:50:53 +0000 (16:50 +0900)]
eventcast: fix build error on Mac OS X.
CONFIG_SHM is not defined. It causes duplicated symbol declaration.
Change-Id: I9c02562a709089a59cd2a3231a0c19aa106818f6
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
jinhyung.jo [Thu, 16 Oct 2014 09:34:24 +0000 (18:34 +0900)]
new_debug_ch: Extended length of channel name
Extend length to name field of channel structure to prevent an incorrect reference.
Even if a channel name is max length(15), it is always null terminated.
Change-Id: I7a82837ab091670e3a24418f1b6cca1a23bfc013
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Kitae Kim [Thu, 16 Oct 2014 07:28:10 +0000 (16:28 +0900)]
virtio-9p: improve error message routine.
Register error message routine to show the message as a dialog,
because local_init function on Windows and Mac OS X does not check virtfs parameters.
Change-Id: I49a295433631b76473adce179bba665fc9823991
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Kitae Kim [Thu, 16 Oct 2014 05:19:31 +0000 (14:19 +0900)]
maru_err_table: prevent double free case.
Duplicate source path to avoid double free case
becuase the path might be released at caller side.
Change-Id: I3a3b2a3605c4c4fbca13c6496c898a0f8e268348
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Kitae Kim [Wed, 15 Oct 2014 10:26:44 +0000 (19:26 +0900)]
eventcast: add evencast_ define
add those macros to avoid redundant declarations
Change-Id: I524d94abacfcb7ab191f2707d07321d460a9a60e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Jinhyung Choi [Wed, 15 Oct 2014 09:37:01 +0000 (18:37 +0900)]
hds: added "Host Directory Sharing" feature
Change-Id: I362464b392c41709590756383cca8fc4fdbcd1a6
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
SeokYeon Hwang [Wed, 15 Oct 2014 06:52:30 +0000 (23:52 -0700)]
Merge "eventcast: fix build errors" into tizen
SeokYeon Hwang [Wed, 15 Oct 2014 06:51:46 +0000 (23:51 -0700)]
Merge "build: remove gcc dependency on Mac OS X." into tizen
Kitae Kim [Fri, 10 Oct 2014 01:28:47 +0000 (10:28 +0900)]
build: remove gcc dependency on Mac OS X.
Change-Id: I1ffa24aafe9fbdfddcb72e4d0ae4bf4e52ef2b87
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Kitae Kim [Mon, 13 Oct 2014 12:50:14 +0000 (21:50 +0900)]
eventcast: fix build errors
- add missing Makefile.objs.
- modify header path.
- add stub function in case of disable-sdl and disable-shm.
Change-Id: Ib35650c14681317e0f1c6b892c318fcfaea5727f
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>