sdk/emulator/qemu.git
9 years agomenu: enable Always on Top menu 50/35650/1
GiWoong Kim [Mon, 23 Feb 2015 02:44:00 +0000 (11:44 +0900)]
menu: enable Always on Top menu

include "config-host.h"
add null checking

Change-Id: I2805a21487de0b89aef904d00cdec354d7320246
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoscreenshot: support the transparent background for PNG 57/35457/1
GiWoong Kim [Mon, 12 Jan 2015 05:23:11 +0000 (14:23 +0900)]
screenshot: support the transparent background for PNG

SWT library has problems to support the transparent background
for PNG image on Windows. So, we use an another way to support these.
1. Save - background was replaced by transparent pixel color as
alpha channel
2. Copy to Clipboard - use java.awt classes instead

Change-Id: I0ef908cfeda38f043643a4d837a6e7d2deff096f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: refactoring for multi-touch processing on maru_sdl 56/35456/1
GiWoong Kim [Wed, 7 Jan 2015 05:22:43 +0000 (14:22 +0900)]
touch: refactoring for multi-touch processing on maru_sdl

On maru_sdl, the multi-touch processing logic had been
moved to Java side. Now, SDL just manage a multi-touch
point drawing only.

Change-Id: I8cbecc205bd269ba98c2c9a35e0ca3b6b5e72f4e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: consider the scaling while touch bounds checking 63/35263/2
GiWoong Kim [Wed, 11 Feb 2015 08:28:27 +0000 (17:28 +0900)]
touch: consider the scaling while touch bounds checking

consider the scaling while touch bounds checking
and optimization

Change-Id: I8cd5acb7a77de2da58a8dce77e7813846244a5cd
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: multi-touch bounds checking on maru_shm 62/35262/3
GiWoong Kim [Wed, 11 Feb 2015 08:27:00 +0000 (17:27 +0900)]
touch: multi-touch bounds checking on maru_shm

Emulator need to consider the display mask while
multi-touch bounds checking

Change-Id: I83b97353fbe3f63d5c0fce00031d731f37ef9852
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: added maru_finger_processing_3 function on maru_shm 61/35261/4
GiWoong Kim [Thu, 1 Jan 2015 09:06:16 +0000 (18:06 +0900)]
touch: added maru_finger_processing_3 function on maru_shm

support symmetric multi-touch (Ctrl + Alt + Click)

Change-Id: Id2a0a47fb220a43ae9efac5d2eac911a0ea6745c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: modified multi-touch mode 3 60/35260/3
GiWoong Kim [Thu, 1 Jan 2015 08:18:24 +0000 (17:18 +0900)]
touch: modified multi-touch mode 3

supports single finger point dragging
disable multi-touch mode if the another key is pressed while
multi-touching

Change-Id: I1ea40d4d737bc0bfd8ba0845592a5e21027cd511
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: added maru_finger_processing_3 function on maru_sdl 59/35259/2
GiWoong Kim [Tue, 30 Dec 2014 03:20:42 +0000 (12:20 +0900)]
touch: added maru_finger_processing_3 function on maru_sdl

support symmetric multi-touch (Ctrl + Alt + Click)

Change-Id: I38395c2f968bd10b9140c4fd8f6123fc83172aa1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: define multitouch_toggle_key_checking function 58/35258/2
GiWoong Kim [Mon, 29 Dec 2014 08:08:44 +0000 (17:08 +0900)]
touch: define multitouch_toggle_key_checking function

Change-Id: I0584df8f97a2d01a027e32cd4e4132b77e92ef5e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoscreenshot: added masking 57/35257/2
GiWoong Kim [Sat, 27 Dec 2014 06:16:58 +0000 (15:16 +0900)]
screenshot: added masking

Change-Id: I2f28d25148c589be0b1858226fd2f4eae25685ba
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agodisplay: added DisplayCavas class 56/35256/2
GiWoong Kim [Sat, 27 Dec 2014 03:40:08 +0000 (12:40 +0900)]
display: added DisplayCavas class

Change-Id: I203fcaa9bc6b4436bbd8710b6638026cb5f2692c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotouch: drag filtering for display mask 55/35255/2
GiWoong Kim [Wed, 24 Dec 2014 07:22:30 +0000 (16:22 +0900)]
touch: drag filtering for display mask

touchscreen event drag(to outside from inside of display region)
filtering for display mask

Change-Id: I7d3e325d16cc93daa7174e9cb89ce6603f72c527
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agodisplay: added display masking 54/35254/2
GiWoong Kim [Thu, 18 Dec 2014 10:48:03 +0000 (19:48 +0900)]
display: added display masking

Change-Id: Ice619c0988b7528d381a745f5ee1709b833f9a07
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agocheck-net: Remove header file 20/35120/2
Munkyu Im [Mon, 9 Feb 2015 11:15:22 +0000 (20:15 +0900)]
check-net: Remove header file

winsock2.h already includes windows.h
So remove it.

Change-Id: Ied844894c64dacb876810f909400f68e15b219fb
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agobuild: modified maru_shm library creation on Ubuntu 28/35328/1
GiWoong Kim [Thu, 12 Feb 2015 05:53:28 +0000 (14:53 +0900)]
build: modified maru_shm library creation on Ubuntu

Change-Id: If1457f138cec3db9b767a7196444df33ed4a8023
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomenu: reinforce the XML parsing 93/35193/2
GiWoong Kim [Tue, 10 Feb 2015 10:16:03 +0000 (19:16 +0900)]
menu: reinforce the XML parsing

declare default menu names
added shortcut parsing
dynamic configuration for scale factor
code cleanup & etc

Change-Id: Ibb50b0a856560ddfede52af5721709220f7230ce
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoskin: define menu XML schema 19/35119/4
GiWoong Kim [Fri, 6 Feb 2015 07:41:21 +0000 (16:41 +0900)]
skin: define menu XML schema

Change-Id: Ia516cab92ae28d9c9b484d2d88b50cc66f3cbb9e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomenu: some code cleanup 81/34981/1
GiWoong Kim [Wed, 4 Feb 2015 03:03:14 +0000 (12:03 +0900)]
menu: some code cleanup

add formList XML parsing
declare addGeneralAction func
add layout.xml file for wearable skin
delete unused qml files

Change-Id: Ib7f2e09e073ca1a8c352345332e7c347eb8bcbd2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoui: apply layout switching concept in place of rotation 14/34814/2
GiWoong Kim [Mon, 2 Feb 2015 12:05:38 +0000 (21:05 +0900)]
ui: apply layout switching concept in place of rotation

Change-Id: I88683f3ea3454aeab1e783e365b6c799b790002e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoskin: remove QML layout parsing 36/34736/1
GiWoong Kim [Fri, 30 Jan 2015 08:00:17 +0000 (17:00 +0900)]
skin: remove QML layout parsing

Change-Id: Ie493ade52d6efa18413305b931e07c339b6dc3f0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoskin: add xml parser for Qt UI 55/34555/3
GiWoong Kim [Thu, 29 Jan 2015 03:11:34 +0000 (12:11 +0900)]
skin: add xml parser for Qt UI

Change-Id: Id5752b47b9ea7563e5f548496a4076f89a66140d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agobrillcodec: dump decoded frames 76/34476/2
Kitae Kim [Tue, 27 Jan 2015 03:03:15 +0000 (12:03 +0900)]
brillcodec: dump decoded frames

Dump decoded frames to check if they are valid or not.

Change-Id: I904ef58148e468d7e2c1985614522935ff615f55
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoskin: add some skin uitility functions & etc 78/34478/1
GiWoong Kim [Fri, 23 Jan 2015 05:40:28 +0000 (14:40 +0900)]
skin: add some skin uitility functions & etc

Change-Id: I2fae05887785aec7bc8dfaaabd3331938e59d35e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoenv: introduced raw image conversion script 41/34241/4
SeokYeon Hwang [Thu, 22 Jan 2015 08:37:25 +0000 (17:37 +0900)]
env: introduced raw image conversion script

Introduced raw image conversion script for standalone users
and platform developers.

Change-Id: I2ea3bd11374bd3a4c7afcb5c6e99d8ca656852c7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge changes I39810ad5,I77ba0f7b into tizen_next
Sangho Park [Mon, 26 Jan 2015 07:33:47 +0000 (23:33 -0800)]
Merge changes I39810ad5,I77ba0f7b into tizen_next

* changes:
  build: built protobuf independently
  env: cleaned directory structure up

9 years agoMerge "evdi: fixed device init failure" into tizen_next
Sangho Park [Mon, 26 Jan 2015 07:28:18 +0000 (23:28 -0800)]
Merge "evdi: fixed device init failure" into tizen_next

9 years agoconfigure: improve configure for libav, vaapi and dxva2. 17/34217/3
Kitae Kim [Thu, 22 Jan 2015 06:18:19 +0000 (15:18 +0900)]
configure: improve configure for libav, vaapi and dxva2.

Change-Id: I90a263de5dfa78d179c5bcd374de0ad1b5468c6b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoevdi: fixed device init failure 05/34305/1
SeokYeon Hwang [Fri, 23 Jan 2015 06:23:40 +0000 (15:23 +0900)]
evdi: fixed device init failure

Change-Id: I7a6bba11e8b6b331488c4eb18fdc0b8c80a888ae
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agobuild: built protobuf independently 40/34240/2
SeokYeon Hwang [Thu, 22 Jan 2015 08:36:24 +0000 (17:36 +0900)]
build: built protobuf independently

Change-Id: I39810ad5a7a93d1e06ce002ebf72984c69a74b67
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoenv: cleaned directory structure up 39/34239/2
SeokYeon Hwang [Thu, 22 Jan 2015 08:31:55 +0000 (17:31 +0900)]
env: cleaned directory structure up

Moved supplements for SDK to supplements directory.
Moved protobuf to src directory.

Change-Id: I77ba0f7b948b0befd06e1888d9d9846a10293f7d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agocheck-proxy: Changed to check-net 12/34212/3
Munkyu Im [Thu, 22 Jan 2015 05:37:34 +0000 (14:37 +0900)]
check-proxy: Changed to check-net

Add network interface information.
The below commands are added.
--proxy: lists host proxy information.
--interface-all: lists information of host ethernet adapters.
--bridge: lists information of host bridge.

Change-Id: I0d3992fd22053e00d8c845e22805860aaf36ab6b
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoskin: added null check 63/34063/2
GiWoong Kim [Wed, 21 Jan 2015 02:27:48 +0000 (11:27 +0900)]
skin: added null check

Change-Id: I906a0077203e3a54bafefbd9a64059528f89be89
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoDirect Rendering: New feature added 90/33990/3
jinhyung.jo [Wed, 14 Jan 2015 10:05:16 +0000 (19:05 +0900)]
Direct Rendering: New feature added

Modified the vigs & the yagl device for the direct rendering
Added Qt5 UI for the direct rendering
This is a compressed many commits produced by several authors below into one.

Change-Id: I455f607c363851c57d0a250f1220ede6027e1ea0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Signed-off-by: SungMin Ha <sungmin82.ha@samsung.com>
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
9 years agopkgs: added extra packages installation 00/33300/3
Jinhyung Choi [Thu, 8 Jan 2015 06:38:16 +0000 (15:38 +0900)]
pkgs: added extra packages installation

Change-Id: I5aa6b139a77e75ece91d9fdca60e9105fb159542
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agodisplay: added maru_display_processing 06/33806/3
GiWoong Kim [Mon, 15 Dec 2014 14:06:48 +0000 (23:06 +0900)]
display: added maru_display_processing

Change-Id: Iaa0266d60932f7ce56be5e0eab97f0c6204a94e9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoMerge changes Ifb16cc06,I738addcc into tizen_next
SeokYeon Hwang [Mon, 19 Jan 2015 07:47:20 +0000 (23:47 -0800)]
Merge changes Ifb16cc06,I738addcc into tizen_next

* changes:
  build: disable video acceleration feature.
  build: remove loading path changing for MacOS

9 years agobuild: disable video acceleration feature. 24/33724/2
Kitae Kim [Wed, 14 Jan 2015 07:33:13 +0000 (16:33 +0900)]
build: disable video acceleration feature.

enable VA feature if vaapi or dxva2 library is installed.

Change-Id: Ifb16cc069861b85d94efcf3b23a08673cf78a323
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoMerge "Revert "remote: added required package libgstreamer-vaapi1.0-dev"" into tizen_next
Alice Liu [Sun, 18 Jan 2015 08:18:37 +0000 (00:18 -0800)]
Merge "Revert "remote: added required package libgstreamer-vaapi1.0-dev"" into tizen_next

9 years agoRevert "remote: added required package libgstreamer-vaapi1.0-dev" 45/33945/1
Alice Liu [Sun, 18 Jan 2015 08:16:52 +0000 (00:16 -0800)]
Revert "remote: added required package libgstreamer-vaapi1.0-dev"

This reverts commit 41bebd2819f26c6fa3c1edddc3653bc8630a41ec.

Change-Id: I8879bf78b6fe9de37066f6fe533b586f8bf6f254

9 years agopackage: version up (2.0.17) 44/33944/1
Alice Liu [Sun, 18 Jan 2015 08:08:16 +0000 (16:08 +0800)]
package: version up (2.0.17)

Change-Id: I21e35235dd522ea52540e7ba61db694f3657b480
Signed-off-by: Alice Liu <alice.liu@intel.com>
9 years agoremote: added required package libgstreamer-vaapi1.0-dev 42/33942/1
Alice Liu [Sat, 17 Jan 2015 06:59:15 +0000 (14:59 +0800)]
remote: added required package libgstreamer-vaapi1.0-dev

Building vaapi requires libgstreamer-vaapi1.0-dev package

Change-Id: Ic38a843a5c3406803b82f46447f8c5923784e545
Signed-off-by: Alice Liu <alice.liu@intel.com>
9 years agobuild: remove loading path changing for MacOS 10/33710/5
GiWoong Kim [Tue, 4 Nov 2014 10:06:02 +0000 (19:06 +0900)]
build: remove loading path changing for MacOS

Change-Id: I738addcc7d79c64a9ec36fdede21d9ad0c2d96b6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agotarget image path: added IMAGE_PATH_SUFFIX condition 98/33298/2
Jinhyung Choi [Mon, 5 Jan 2015 06:53:27 +0000 (15:53 +0900)]
target image path: added IMAGE_PATH_SUFFIX condition

Change-Id: I9224d318bca7811d4535fbc796c358f966310c4d
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agonet: Support bridged network and manual proxy 34/33134/2
Munkyu Im [Tue, 6 Jan 2015 07:30:47 +0000 (16:30 +0900)]
net: Support bridged network and manual proxy

make check-proxy shows host proxy information.
set guest IP from emuld.

Change-Id: I3b0746eea02de6e4ec46a24deb0e09e1876242a7
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agobrillcodec: enable video acceleration API. 69/32369/3
gunsoo83.kim [Wed, 17 Dec 2014 12:28:30 +0000 (21:28 +0900)]
brillcodec: enable video acceleration API.

- enable DXVA2 for Windows
- enable VAAPI for Ubunut

Change-Id: I4f10f40daafc5b7ca8c8dd5f1a2ffab317f3c6b6
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
9 years agoconfigure: use libav, vappi and dxva2 feature depending on the below cases. 09/33309/1
Kitae Kim [Thu, 8 Jan 2015 07:30:19 +0000 (16:30 +0900)]
configure: use libav, vappi and dxva2 feature depending on the below cases.

If libav option is set and configure cannot find libav, configure
will be terminated abnormally.

If libav option is not set and configure cannot detect libav,
configure will not be terminated abnormally. Otherwise, it will
enable libav feature.

Change-Id: I52f55f15da315cc4ccb2c2275df760e90c4c3613
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agobuild: modify changelog file. 37/32837/1
Kitae Kim [Fri, 26 Dec 2014 04:21:47 +0000 (13:21 +0900)]
build: modify changelog file.

Change-Id: Ie01a65da79830c8862f6e63032d12d8ce72f0991
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agobuild: disable quorum feature to remove dependency on gnutls. 35/32835/4
Alice Liu [Fri, 26 Dec 2014 01:58:58 +0000 (09:58 +0800)]
build: disable quorum feature to remove dependency on gnutls.

Change-Id: Ia95b23b6479651a7e662e037c040481bf2fc0874
Signed-off-by: Alice Liu <alice.liu@intel.com>
9 years agopackage: version up 93/32793/4
Munkyu Im [Wed, 24 Dec 2014 05:51:09 +0000 (14:51 +0900)]
package: version up

Change-Id: I0442bb6e9e346e14024e800c923fd8d6438d3951
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agosdcard: Fix failing re-attaching on Windows 50/32750/7
Munkyu Im [Tue, 23 Dec 2014 12:16:02 +0000 (21:16 +0900)]
sdcard: Fix failing re-attaching on Windows

failed when try to attach > detach > attach on Windows.
becuase of failing unlock when detach sdcard image.

Change-Id: If400812633a4a22c937911cc3086125923e9a6fd
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoecs: sync with 2.3 development 82/32582/3
Jinhyung Choi [Fri, 19 Dec 2014 08:10:51 +0000 (17:10 +0900)]
ecs: sync with 2.3 development

- bug fixed with ecs_mon not null terminate buffer
- added hds functionality
- added sensors(HRM, UV and Pressure)

Change-Id: I3a362a8b1e29acc55ed6ac8a9a9b538c5673f42a
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agopackage: version up (2.0.15) 53/32653/1
Alice Liu [Mon, 22 Dec 2014 06:30:54 +0000 (14:30 +0800)]
package: version up (2.0.15)

Change-Id: I956a08ac53879926e0b426962b7e8ecb8aa6fefe
Signed-off-by: Alice Liu <alice.liu@intel.com>
9 years agoMerge branch 'tizen_next_qemu_2.2' into tizen_next
SeokYeon Hwang [Mon, 22 Dec 2014 04:50:49 +0000 (13:50 +0900)]
Merge branch 'tizen_next_qemu_2.2' into tizen_next

9 years agobrillcodec: fix wrong log macro. 67/32367/1
Kitae Kim [Wed, 17 Dec 2014 12:15:17 +0000 (21:15 +0900)]
brillcodec: fix wrong log macro.

Change-Id: I67bc928f27369b45f88d0253ea176ebf26994144
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoosutil: fix compilation errors on Windows and MacOS. 66/32366/1
Kitae Kim [Wed, 17 Dec 2014 12:14:10 +0000 (21:14 +0900)]
osutil: fix compilation errors on Windows and MacOS.

Change-Id: Ia597584dba038602776866fc2caa738c8b3cca59
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agobrillcodec: use new debug channel macros 38/32138/2
Kitae Kim [Tue, 16 Dec 2014 06:14:15 +0000 (15:14 +0900)]
brillcodec: use new debug channel macros

Change-Id: I4d14ca5b75361e16da9178c4190c2eea381cb1f6
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoMerge "build: disable dxva2 feature on Windows." into tizen_next
SeokYeon Hwang [Wed, 17 Dec 2014 04:58:38 +0000 (20:58 -0800)]
Merge "build: disable dxva2 feature on Windows." into tizen_next

9 years agoMerge "brillcodec: remove deprecated libav APIs and use new functions." into tizen_next
SeokYeon Hwang [Wed, 17 Dec 2014 04:58:28 +0000 (20:58 -0800)]
Merge "brillcodec: remove deprecated libav APIs and use new functions." into tizen_next

9 years agoblock: fix compilation error on windows 45/31845/3
SeokYeon Hwang [Thu, 11 Dec 2014 06:13:35 +0000 (15:13 +0900)]
block: fix compilation error on windows

Change-Id: I5a746ab35cb449b2f42da9dff6b592228ebcf495
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agohax: executed 'hax_populate_ram()' in more proper position 44/31844/3
SeokYeon Hwang [Thu, 11 Dec 2014 06:10:20 +0000 (15:10 +0900)]
hax: executed 'hax_populate_ram()' in more proper position

Change-Id: I8bd616077d223ffebba8b4287cd6f675486ad806
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agobrillcodec: check that the libav include hwaccel module. 51/32151/1
gunsoo83.kim [Wed, 22 Oct 2014 10:58:03 +0000 (19:58 +0900)]
brillcodec: check that the libav include hwaccel module.

- When brillcodec is using hwaccel module(VAAPI, DXVA),
  should check that the libav is including hwaccel module.

Change-Id: I26eab201cbbe88b440dac8aee6b78017591de63b
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
9 years agobuild: disable dxva2 feature on Windows. 32/32132/2
Kitae Kim [Tue, 16 Dec 2014 04:42:14 +0000 (13:42 +0900)]
build: disable dxva2 feature on Windows.

Change-Id: Ib8b83cce5bc8c99e341b881a121bd6c46353f421
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agobrillcodec: remove deprecated libav APIs and use new functions. 31/32131/2
Kitae Kim [Tue, 16 Dec 2014 04:42:02 +0000 (13:42 +0900)]
brillcodec: remove deprecated libav APIs and use new functions.

Change-Id: I5fcaa5ebb83500a295fe3269a6da2f04f1b7974d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agohax: HAX needs ram_size when initialize 43/31843/4
SeokYeon Hwang [Thu, 11 Dec 2014 06:05:26 +0000 (15:05 +0900)]
hax: HAX needs ram_size when initialize

HAX needs ram_size when initialize, but init function should have
only MachineState structure. So, we assigned 'ram_size' to 'MachineState'
before 'configure_accelerator()'. Then init function can get 'ram_size'
from 'MachineState'.

Change-Id: I53b6567e411b5bb5d28df30392279245ab93e9af
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge "emulator: introduced 'keyword' variable" into tizen_next
SeokYeon Hwang [Thu, 11 Dec 2014 06:15:12 +0000 (22:15 -0800)]
Merge "emulator: introduced 'keyword' variable" into tizen_next

9 years agoMerge "skin: verify a correct VM port range for Color Tag" into tizen_next
SeokYeon Hwang [Thu, 11 Dec 2014 06:14:55 +0000 (22:14 -0800)]
Merge "skin: verify a correct VM port range for Color Tag" into tizen_next

9 years agovirtio: removed invalid device properties 42/31842/1
SeokYeon Hwang [Thu, 11 Dec 2014 04:46:35 +0000 (13:46 +0900)]
virtio: removed invalid device properties

Change-Id: Ifcfa251319e519c14e953984640575a8d8bdbc43
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoemulator: registered maru_board as a PC machine 41/31841/1
SeokYeon Hwang [Thu, 11 Dec 2014 04:45:24 +0000 (13:45 +0900)]
emulator: registered maru_board as a PC machine

Change-Id: I5db11add1abb9f6308bbcbd7d27b608a84397509
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoui: 'bool' type needs 'stdbool.h'
SeokYeon Hwang [Wed, 10 Dec 2014 06:00:24 +0000 (15:00 +0900)]
ui: 'bool' type needs 'stdbool.h'

Change-Id: I8331094e17918359dd1b1af11f97cf9b6c246f1e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoUpdate version for v2.2.0 release
Peter Maydell [Tue, 9 Dec 2014 12:13:37 +0000 (12:13 +0000)]
Update version for v2.2.0 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agoMerge 'v2.2.0' into tizen_next_qemu_2.2
SeokYeon Hwang [Wed, 10 Dec 2014 05:48:31 +0000 (14:48 +0900)]
Merge 'v2.2.0' into tizen_next_qemu_2.2

v2.2.0 release

Conflicts:
blockdev.c
configure
cpu-exec.c
exec.c
hw/Makefile.objs
hw/i386/pc_piix.c
qom/object.c
target-i386/translate.c
util/oslib-posix.c
util/oslib-win32.c
vl.c
xen-hvm.c

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Change-Id: I0f708eddfb51b98b9a7453e6e92f20c90a8b5aaf

9 years agopackage: version up (2.0.14) 37/31737/1
Alice Liu [Tue, 9 Dec 2014 06:52:01 +0000 (14:52 +0800)]
package: version up (2.0.14)

Change-Id: I5e73bbfc6e0e2650c9c260d5c340368ad648a8a7
Signed-off-by: Alice Liu <alice.liu@intel.com>
9 years agoskin: verify a correct VM port range for Color Tag 27/31727/1
GiWoong Kim [Fri, 5 Dec 2014 05:40:45 +0000 (14:40 +0900)]
skin: verify a correct VM port range for Color Tag

Change-Id: I4b9606998b6d04c7a8c8d659cbf65f67521634b8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agohds: fix a file creation error on windows host. 89/31489/1
Sooyoung Ha [Fri, 5 Dec 2014 08:01:23 +0000 (17:01 +0900)]
hds: fix a file creation error on windows host.

Change-Id: I78d92223aa7e6c84cbdea0aeddfce65cb30fb291
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoMerge "brillcodec: add profile module for decoding fps/latency." into tizen_next
SeokYeon Hwang [Fri, 5 Dec 2014 06:16:02 +0000 (22:16 -0800)]
Merge "brillcodec: add profile module for decoding fps/latency." into tizen_next

9 years agoMerge "Merge branch 'features/brillcodec_2i' into 'tizen_next'" into tizen_next
SeokYeon Hwang [Fri, 5 Dec 2014 02:49:48 +0000 (18:49 -0800)]
Merge "Merge branch 'features/brillcodec_2i' into 'tizen_next'" into tizen_next

9 years agoMerge "emulator: did not expose unnecessary functions" into tizen_next
SeokYeon Hwang [Fri, 5 Dec 2014 02:49:15 +0000 (18:49 -0800)]
Merge "emulator: did not expose unnecessary functions" into tizen_next

9 years agoUpdate version for v2.2.0-rc5 release
Peter Maydell [Thu, 4 Dec 2014 15:51:22 +0000 (15:51 +0000)]
Update version for v2.2.0-rc5 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agoMerge remote-tracking branch 'remotes/kraxel/tags/pull-cve-2014-8106-20141204-1'...
Peter Maydell [Thu, 4 Dec 2014 12:22:46 +0000 (12:22 +0000)]
Merge remote-tracking branch 'remotes/kraxel/tags/pull-cve-2014-8106-20141204-1' into staging

cirrus: fix blit region check

# gpg: Signature made Thu 04 Dec 2014 11:54:57 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"

* remotes/kraxel/tags/pull-cve-2014-8106-20141204-1:
  cirrus: don't overflow CirrusVGAState->cirrus_bltbuf
  cirrus: fix blit region check

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agobrillcodec: add profile module for decoding fps/latency. 43/31343/1
gunsoo83.kim [Thu, 4 Dec 2014 07:30:28 +0000 (16:30 +0900)]
brillcodec: add profile module for decoding fps/latency.

- To profile codec performance in device layer,
  add profile module to brillcodec device.

Change-Id: I1c476927afe69dbac76d6091f7f8c9810d85c691
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
9 years agoemulator: introduced 'keyword' variable 01/31201/2
SeokYeon Hwang [Tue, 2 Dec 2014 12:45:16 +0000 (21:45 +0900)]
emulator: introduced 'keyword' variable

Introduced 'keyword' variable that is provided by emulator itself.
Removed redundant static functions.

Change-Id: Ib007914f1e66d9da4a71aeb8cb0919aea60ff6d3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge "check-hax: check ug feature on Windows and Mac OS X." into tizen_next
SeokYeon Hwang [Tue, 2 Dec 2014 09:14:23 +0000 (01:14 -0800)]
Merge "check-hax: check ug feature on Windows and Mac OS X." into tizen_next

9 years agoemulator: did not expose unnecessary functions 57/31157/1
SeokYeon Hwang [Tue, 2 Dec 2014 06:51:58 +0000 (15:51 +0900)]
emulator: did not expose unnecessary functions

Change-Id: I4f5b2e24820f5416c0fc6544ad893afc24a89237
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoUpdate version for v2.2.0-rc4 release
Peter Maydell [Mon, 1 Dec 2014 13:35:26 +0000 (13:35 +0000)]
Update version for v2.2.0-rc4 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agovhost: Fix vhostfd leak in error branch
Gonglei [Fri, 28 Nov 2014 09:26:29 +0000 (17:26 +0800)]
vhost: Fix vhostfd leak in error branch

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1417166789-1960-1-git-send-email-arei.gonglei@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
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 agocirrus: don't overflow CirrusVGAState->cirrus_bltbuf
Gerd Hoffmann [Wed, 19 Nov 2014 12:27:28 +0000 (13:27 +0100)]
cirrus: don't overflow CirrusVGAState->cirrus_bltbuf

This is CVE-2014-8106.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
9 years agocirrus: fix blit region check
Gerd Hoffmann [Wed, 19 Nov 2014 10:37:42 +0000 (11:37 +0100)]
cirrus: fix blit region check

Issues:
 * Doesn't check pitches correctly in case it is negative.
 * Doesn't check width at all.

Turn macro into functions while being at it, also factor out the check
for one region which we then can simply call twice for src + dst.

This is CVE-2014-8106.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
9 years agocheck-hax: check ug feature on Windows and Mac OS X. 12/30912/4
Kitae Kim [Tue, 25 Nov 2014 09:49:28 +0000 (18:49 +0900)]
check-hax: check ug feature on Windows and Mac OS X.

emulator-manager will set default smp value depending on the result of checking ug feature.

Change-Id: Ie3a60f2675f1f34ae1727a7a5610fdbc7288bc3b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
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 agoFix for crash after migration in virtio-rng on bi-endian targets
David Gibson [Thu, 27 Nov 2014 05:48:10 +0000 (16:48 +1100)]
Fix for crash after migration in virtio-rng on bi-endian targets

VirtIO devices now remember which endianness they're operating in in order
to support targets which may have guests of either endianness, such as
powerpc.  This endianness state is transferred in a subsection of the
virtio device's information.

With virtio-rng this can lead to an abort after a loadvm hitting the
assert() in virtio_is_big_endian().  This can be reproduced by doing a
migrate and load from file on a bi-endian target with a virtio-rng device.
The actual guest state isn't particularly important to triggering this.

The cause is that virtio_rng_load_device() calls virtio_rng_process() which
accesses the ring and thus needs the endianness.  However,
virtio_rng_process() is called via virtio_load() before it loads the
subsections.  Essentially the ->load callback in VirtioDeviceClass should
only be used for actually reading the device state from the stream, not for
post-load re-initialization.

This patch fixes the bug by moving the virtio_rng_process() after the call
to virtio_load().  Better yet would be to convert virtio to use vmsd and
have the virtio_rng_process() as a post_load callback, but that's a bigger
project for another day.

This is bugfix, and should be considered for the 2.2 branch.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Message-id: 1417067290-20715-1-git-send-email-david@gibson.dropbear.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agovirtio-net: fix unmap leak
Jason Wang [Thu, 27 Nov 2014 10:04:03 +0000 (18:04 +0800)]
virtio-net: fix unmap leak

virtio_net_handle_ctrl() and other functions that process control vq
request call iov_discard_front() which will shorten the iov. This will
lead unmapping in virtqueue_push() leaks mapping.

Fixes this by keeping the original iov untouched and using a temp variable
in those functions.

Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1417082643-23907-1-git-send-email-jasowang@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agohmp: fix regression of HMP device_del auto-completion
Marcel Apfelbaum [Wed, 26 Nov 2014 11:50:01 +0000 (13:50 +0200)]
hmp: fix regression of HMP device_del auto-completion

The commits:
 - 6a1fa9f5 (monitor: add del completion for peripheral device)
 - 66e56b13 (qdev: add qdev_build_hotpluggable_device_list helper)

cause a QEMU crash when trying to use HMP device_del auto-completion.
It can be easily reproduced by:
    <qemu-bin> -enable-kvm  ~/images/fedora.qcow2 -monitor stdio -device virtio-net-pci,id=vnet

    (qemu) device_del
    /home/mapfelba/git/upstream/qemu/hw/core/qdev.c:941:qdev_build_hotpluggable_device_list: Object 0x7f6ce04e4fe0 is not an instance of type device
    Aborted (core dumped)

The root cause is qdev_build_hotpluggable_device_list going recursively over
all peripherals and their children assuming all are devices. It doesn't work
since PCI devices have at least on child which is a memory region (bus master).

Solved by observing that all devices appear as direct children of
/machine/peripheral container. No need of going recursively
over all the children.

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reported-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 1417002601-20799-1-git-send-email-marcel.a@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agoqemu-timer: Avoid overflows when converting timeout to struct timespec
Peter Maydell [Tue, 25 Nov 2014 18:21:45 +0000 (18:21 +0000)]
qemu-timer: Avoid overflows when converting timeout to struct timespec

In qemu_poll_ns(), when we convert an int64_t nanosecond timeout into
a struct timespec, we may accidentally run into overflow problems if
the timeout is very long. This happens because the tv_sec field is a
time_t, which is signed, so we might end up setting it to a negative
value by mistake. This will result in what was intended to be a
near-infinite timeout turning into an instantaneous timeout, and we'll
busy loop. Cap the maximum timeout at INT32_MAX seconds (about 68 years)
to avoid this problem.

This specifically manifested on ARM hosts as an extreme slowdown on
guest shutdown (when the guest reprogrammed the PL031 RTC to not
generate alarms using a very long timeout) but could happen on other
hosts and guests too.

Reported-by: Christoffer Dall <christoffer.dall@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1416939705-1272-1-git-send-email-peter.maydell@linaro.org

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 agoMerge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
Peter Maydell [Wed, 26 Nov 2014 12:18:00 +0000 (12:18 +0000)]
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

The final 2.2 patches from me.

# gpg: Signature made Wed 26 Nov 2014 11:12:25 GMT using RSA key ID 78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream:
  s390x/kvm: Fix compile error
  fw_cfg: fix boot order bug when dynamically modified via QOM
  -machine vmport=auto: Fix handling of VMWare ioport emulation for xen

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
9 years agos390x/kvm: Fix compile error
Christian Borntraeger [Wed, 26 Nov 2014 10:07:24 +0000 (11:07 +0100)]
s390x/kvm: Fix compile error

commit a2b257d6212a "memory: expose alignment used for allocating RAM
as MemoryRegion API" triggered a compile error on KVM/s390x.

Fix the prototype and the implementation of legacy_s390_alloc.

Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9 years agofw_cfg: fix boot order bug when dynamically modified via QOM
Gonglei [Tue, 25 Nov 2014 04:38:19 +0000 (12:38 +0800)]
fw_cfg: fix boot order bug when dynamically modified via QOM

When we dynamically modify boot order, the length of
boot order will be changed, but we don't update
s->files->f[i].size with new length. This casuse
seabios read a wrong vale of qemu cfg file about
bootorder.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>