sdk/emulator/qemu.git
9 years agoMerge branch 'features/brillcodec_2i' into 'tizen_next' 82/31082/1
Kitae Kim [Mon, 1 Dec 2014 08:10:20 +0000 (17:10 +0900)]
Merge branch 'features/brillcodec_2i' into 'tizen_next'

Conflicts:
configure
package/changelog
package/pkginfo.manifest
target-i386/hax-all.c
tizen/src/Makefile
tizen/src/display/maru_display.c
tizen/src/display/maru_sdl.c
tizen/src/display/maru_shm.c
tizen/src/display/maru_shm.h
tizen/src/eventcast/encode_fb.c
tizen/src/eventcast/encode_fb.h
tizen/src/eventcast/touch.c
tizen/src/eventcast/touch.h
tizen/src/hw/pci/Makefile.objs
tizen/src/hw/pci/maru_brillcodec.c
tizen/src/hw/pci/maru_brillcodec.h
tizen/src/hw/pci/maru_brillcodec_device.c
tizen/src/tethering/Makefile.objs
tizen/src/tethering/common.c
tizen/src/util/new_debug_ch.c
tizen/src/util/osutil.h
vl.c

Change-Id: Iab1486003ec796882e52647d08518624db664cdc

9 years agoMerge "emulator: detecting some error cases" into tizen_next
SeokYeon Hwang [Mon, 1 Dec 2014 01:38:27 +0000 (17:38 -0800)]
Merge "emulator: detecting some error cases" into tizen_next

9 years agonet: Remove dns1 kernel append 14/30914/1
Munkyu Im [Thu, 27 Nov 2014 08:17:37 +0000 (17:17 +0900)]
net: Remove dns1 kernel append

It's not used.
SLIRP sets DNS as 10.0.2.3 when initailize.

Change-Id: I1be21e1b0842026b640b18c7d0e5fdff20d5090b
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoemulator: detecting some error cases 09/30909/1
SeokYeon Hwang [Thu, 27 Nov 2014 06:25:18 +0000 (15:25 +0900)]
emulator: detecting some error cases

Detecting some error cases in profile conf file.
Quotes can be used in default value section from now.

Change-Id: Ib58676dcf1527b0e1d808aa079f25283b716b007
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge "util: fixed unused pointer value" into tizen_next
SeokYeon Hwang [Thu, 27 Nov 2014 04:52:14 +0000 (20:52 -0800)]
Merge "util: fixed unused pointer value" into tizen_next

9 years agobrillcodec: apply struct base memory access for audio encoding 56/30556/4 features/brillcodec_2i
Kitae Kim [Thu, 20 Nov 2014 08:12:55 +0000 (17:12 +0900)]
brillcodec: apply struct base memory access for audio encoding

Struct base memory access for audio encoder is applied.
DataHandler for audio encoder is applied.

Change-Id: I66bc5cc3b464adaf10de389fd2c1a71b3a47d27f
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoutil: fixed unused pointer value 50/30750/1
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>
9 years agohax: fix invalid printf format 46/30746/1
Kitae Kim [Tue, 25 Nov 2014 02:15:43 +0000 (11:15 +0900)]
hax: fix invalid printf format

Change-Id: Ife0eeb4929497a0e2179b4f45f0ce4031a7cc9a3
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agopackage: version up 00/30700/1
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>
9 years agohax: fix compliation errors 19/30619/3
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>
9 years agoMerge branch 'features/smp' into tizen_next 18/30618/3
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

9 years agodebugch: modify the emulator log print format. 54/30554/1
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>
9 years agoMerge "hax: fix wrong printf format for target_ulong." into features/smp features/smp
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

9 years agoMerge "hax: HAX is initialized more sophisticated way" 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

9 years agohax: HAX is initialized more sophisticated way 63/30363/4
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>
9 years agohax: fix wrong printf format for target_ulong. 19/30419/1
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>
9 years agoMerge "Hax: added HAXM non-UG platform support back" into features/smp
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

9 years agoHax: added HAXM non-UG platform support back 73/30073/4
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>
9 years agoui: modified emulator icon path on Windows 02/30302/1
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>
9 years agoMerge "ecs: display type checking" into tizen_next
SeokYeon Hwang [Thu, 13 Nov 2014 06:38:01 +0000 (22:38 -0800)]
Merge "ecs: display type checking" into tizen_next

9 years agoecs: display type checking 86/30086/1
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>
9 years agoui: Tizen icon apply to Emulator on Windows 85/30085/1
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>
9 years agoMerge "web-viewer: modified server script name(emul to tty.js)" into tizen_next
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

9 years agoRevert "hax: for testing..."
SeokYeon Hwang [Fri, 7 Nov 2014 02:42:34 +0000 (11:42 +0900)]
Revert "hax: for testing..."

This reverts commit 57a0d655687a503ab76db51942543c9b8812a941.

9 years agohax: for testing...
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>
9 years agoMerge "package: added install dependency for spice-protocol and spice-vdagent" into...
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

9 years agoMerge "package: version up(2.0.12)" 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

9 years agoMerge "YaGL: Modified the logs when the device is initialized" 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

9 years agoweb-viewer: modified server script name(emul to tty.js) 74/29974/1
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>
9 years agohax: fixed missing interrupt, removed earlier work-around. 03/29703/4
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>
9 years agopackage: version up(2.0.12) 61/29861/1
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>
9 years agopackage: added install dependency for spice-protocol and spice-vdagent 60/29860/1
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>
9 years agoYaGL: Modified the logs when the device is initialized 59/29859/1
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>
9 years agoCheck-gl: Modified install script. 58/29858/1
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>
9 years agoMerge "spice: added thread for rpm package installation and spice-vdagent execution...
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

9 years agoMerge "git: add *.dylib, .DS_Store file to .gitignore" 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

9 years agoMerge "display: select display type with display options." 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

9 years agogit: add *.dylib, .DS_Store file to .gitignore 35/29635/1
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>
9 years agospice: added thread for rpm package installation and spice-vdagent execution 94/29594/3
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>
9 years agoMerge "Check-gl: Modified install script." into tizen
SeokYeon Hwang [Wed, 29 Oct 2014 11:48:16 +0000 (04:48 -0700)]
Merge "Check-gl: Modified install script." into tizen

9 years agoMerge "osutil: Change os dependent variable" into tizen
SeokYeon Hwang [Wed, 29 Oct 2014 11:45:54 +0000 (04:45 -0700)]
Merge "osutil: Change os dependent variable" into tizen

9 years agodisplay: select display type with display options. 22/29522/3
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>
9 years agocheck-gl: remove the error pop-up & exit code 27/29527/1
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>
9 years agoMerge "menu: add null checking" into tizen
SeokYeon Hwang [Wed, 29 Oct 2014 06:20:19 +0000 (23:20 -0700)]
Merge "menu: add null checking" into tizen

9 years agoCheck-gl: Modified install script. 98/29498/1
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>
9 years agoMerge "9pfs: modify variable name because of readability" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 11:41:46 +0000 (04:41 -0700)]
Merge "9pfs: modify variable name because of readability" into tizen

9 years agoosutil: Change os dependent variable 71/29471/1
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>
9 years agomenu: add null checking 68/29468/1
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>
9 years agoMerge "osutil: remove "inline" identifier from sdcard lock functions" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:30:27 +0000 (01:30 -0700)]
Merge "osutil: remove "inline" identifier from sdcard lock functions" into tizen

9 years agoMerge "9pfs: fix compilation errors on Mac OS X." 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

9 years agoMerge "eventcast: fix an infinite loop of notifier routine." 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

9 years agoMerge "hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables" 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

9 years agoMerge "hw/net/ne2000-isa: Register vmstate struct" 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

9 years agoMerge "hw/net/eepro100: Implement read-only bits in MDI registers" 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

9 years agoMerge "slirp: Remove unused zero_ethaddr[] variable" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:09:35 +0000 (01:09 -0700)]
Merge "slirp: Remove unused zero_ethaddr[] variable" into tizen

9 years agoMerge "block/vhdx.c: Mark parent_vhdx_guid variable as unused" 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

9 years agoMerge "util/qemu-sockets.c: Avoid unused variable warnings" 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

9 years agoMerge "board: remove unused variables" into tizen
SeokYeon Hwang [Tue, 28 Oct 2014 08:08:59 +0000 (01:08 -0700)]
Merge "board: remove unused variables" into tizen

9 years agoMerge changes I1d5ce226,Ic4d64833 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

9 years ago9pfs: modify variable name because of readability 53/29453/1
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>
9 years agohax: changed hax_lest_version and hax_cur_version to enforce newer haxm version. 59/29359/2
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>
9 years agoosutil: remove "inline" identifier from sdcard lock functions 42/29442/1
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>
9 years agohw/i386/pc.c: Remove unused parallel_io and parallel_irq variables 41/29441/1
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>
9 years agohw/net/ne2000-isa: Register vmstate struct 40/29440/1
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>
9 years agohw/net/eepro100: Implement read-only bits in MDI registers 39/29439/1
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>
9 years agoslirp: Remove unused zero_ethaddr[] variable 38/29438/1
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>
9 years agoblock/vhdx.c: Mark parent_vhdx_guid variable as unused 37/29437/1
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>
9 years agoutil/qemu-sockets.c: Avoid unused variable warnings 36/29436/1
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>
9 years agoboard: remove unused variables 35/29435/1
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>
9 years ago9pfs: fix compilation errors on Mac OS X. 32/29432/2
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>
9 years agotarget-i386/translate.c: Remove unused tcg_gen_lshift() 31/29431/1
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>
9 years agoeventcast: fix an infinite loop of notifier routine. 30/29430/1
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>
9 years agomaru_shm: consider unsigned short 07/29407/1
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>
9 years agoecs: Size up location data buffer 18/29318/1
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>
9 years agoosutil: add #ifdef, #endif 17/29317/2
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>
9 years agoMerge "sdcard: Allow only one attach for the same sdcard image" into tizen
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

9 years agosdcard: Allow only one attach for the same sdcard image 85/29185/6
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>
9 years agoMerge "enable yagl/vigs support independently of enabling maru" into tizen
Sangho Park [Thu, 23 Oct 2014 14:23:39 +0000 (07:23 -0700)]
Merge "enable yagl/vigs support independently of enabling maru" into tizen

9 years agoMerge "ecs: bug fixed of header include in windows" 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

9 years agoenable yagl/vigs support independently of enabling maru 91/29091/2
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>
9 years agoMerge "menu: add null checking" into tizen
SeokYeon Hwang [Thu, 23 Oct 2014 07:31:51 +0000 (00:31 -0700)]
Merge "menu: add null checking" into tizen

9 years agomenu: add null checking 32/29232/1
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>
9 years agoecs: bug fixed of header include in windows 31/29231/1
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>
9 years agobrillcodec: initialized AVPacket variable. 28/29228/1
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>
9 years agoemulator_option: fix resource leak. 27/29227/1
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>
9 years agoMerge "VIGS & YaGL: Fixed the incorrect condition" into tizen
SeokYeon Hwang [Wed, 22 Oct 2014 04:31:23 +0000 (21:31 -0700)]
Merge "VIGS & YaGL: Fixed the incorrect condition" into tizen

9 years agoMerge "Check-GL: Added check-gl pop-up when install SDK in Ubuntu." 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

9 years agoVIGS & YaGL: Fixed the incorrect condition 73/29073/1
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>
9 years agoCheck-GL: Added check-gl pop-up when install SDK in Ubuntu. 26/29026/3
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>
9 years agocheck-gl: Modified check-gl 33/29033/2
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>
9 years agoMerge "configure: remove --disable-coroutine-pool on Windows" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 08:59:08 +0000 (01:59 -0700)]
Merge "configure: remove --disable-coroutine-pool on Windows" into tizen

9 years agoMerge "coroutine-win32.c: Add noinline attribute to work around gcc bug" 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

9 years agoMerge changes I9c02562a,I49a29543,I3a3b2a36 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.

9 years agoMerge "hds: added "Host Directory Sharing" feature" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 08:31:47 +0000 (01:31 -0700)]
Merge "hds: added "Host Directory Sharing" feature" into tizen

9 years agoMerge "eventcast: add evencast_ define" into tizen
SeokYeon Hwang [Mon, 20 Oct 2014 08:28:46 +0000 (01:28 -0700)]
Merge "eventcast: add evencast_ define" into tizen

9 years agoconfigure: remove --disable-coroutine-pool on Windows 03/29003/1
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>
9 years agocoroutine-win32.c: Add noinline attribute to work around gcc bug 02/29002/1
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>
9 years agoeventcast: fix build error on Mac OS X. 30/28930/1
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>
9 years agonew_debug_ch: Extended length of channel name 12/28812/2
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>
9 years agovirtio-9p: improve error message routine. 88/28788/1
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>