sdk/emulator/qemu.git
7 years agoRevert "display: move display functionality to Qt5 GUI"
Jinhyung Jo [Fri, 30 Sep 2016 12:14:32 +0000 (21:14 +0900)]
Revert "display: move display functionality to Qt5 GUI"

With AMD GPUs,
reverted commit makes a ciritical bug that GUI is invisible.

This reverts commit 99ffcba1997dade13316bd09023f93597db0f2df.

Conflicts:
    tizen/src/ui/displayglwidget.cpp
    tizen/src/ui/qt5_supplement.cpp

Change-Id: Ie5b4655bdf1beb228c788dd7dc874bb6f1cba63c
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agodisplay: fix display rotation failure
Jinhyung Jo [Fri, 30 Sep 2016 11:47:28 +0000 (20:47 +0900)]
display: fix display rotation failure

The degree 0(90) & degree 180(270) have same size of display.
For that reason,
the resize event does not occur when the rotate angle is changed.
So update the status of the rotate & scale before drawing.

Change-Id: I2092a45ad60e65d4ee14ed8bb66def210b28cc68
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version(2.6.6)
jihye [Wed, 28 Sep 2016 02:49:10 +0000 (11:49 +0900)]
package: update version(2.6.6)

Change-Id: Ided4434d646ffe0aaf21e7f451567cb06d512d41
Signed-off-by: jihye <jihye424.kim@samsung.com>
7 years agoMerge "osutil: adjust vm lock module" into develop
Jinhyung Choi [Wed, 28 Sep 2016 02:34:55 +0000 (11:34 +0900)]
Merge "osutil: adjust vm lock module" into develop

7 years agoabout dialog: remove ?(about) button
jihye [Tue, 27 Sep 2016 04:39:48 +0000 (13:39 +0900)]
about dialog: remove ?(about) button

Change-Id: I0041d77d293b7149a93321df2349697055a1dc7a
Signed-off-by: jihye <jihye424.kim@samsung.com>
7 years agoabout: change version from build version to platform version
jihye [Mon, 26 Sep 2016 09:19:00 +0000 (18:19 +0900)]
about: change version from build version to platform version

Change-Id: I4095209a97b751f51ce7c9696a98202399892493
Signed-off-by: jihye <jihye424.kim@samsung.com>
7 years agoosutil: adjust vm lock module
Munkyu Im [Mon, 26 Sep 2016 09:14:21 +0000 (18:14 +0900)]
osutil: adjust vm lock module

- move it to an earlier time.(early launching time)
- make the same lock file(vm.lock) on each host OS.

Change-Id: I80744500bf7c25c536061d2952f7f6552a0406f1
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agopackage: update version (2.6.5)
jihye424.kim [Thu, 22 Sep 2016 04:20:07 +0000 (13:20 +0900)]
package: update version (2.6.5)

Change-Id: I2e9b643c64e385b24f417d008a2440d491b46300
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agodetail dialog: temporarily remove shortcut info in mac
jihye424.kim [Wed, 21 Sep 2016 05:44:04 +0000 (14:44 +0900)]
detail dialog: temporarily remove shortcut info in mac

Change-Id: I5f2b6a8471699c963084e52e3ad0d499b37473c1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agoui: add missing "break" statement
SeokYeon Hwang [Wed, 21 Sep 2016 04:40:04 +0000 (13:40 +0900)]
ui: add missing "break" statement

Change-Id: Iff825869360222d3beaf3d158de5121c7537b1e9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version(2.6.4)
jihye424.kim [Wed, 21 Sep 2016 02:09:40 +0000 (11:09 +0900)]
package: update version(2.6.4)

Change-Id: I05290052483fc021d074c4e0529fae937773e177
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agoecs: separate cli vm searching
Jinhyung Choi [Tue, 20 Sep 2016 04:23:05 +0000 (13:23 +0900)]
ecs: separate cli vm searching

cannot find vm between old and later version by ecp cli
- old version: 2.3, 2.3.1
- later version: 2.3.2, 2.4, 3.0

Change-Id: I6833c03063573cb1329c74fce77cdafab12a5e58
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agoecp-launch: launch .app file in mac os x
Minkee Lee [Mon, 12 Sep 2016 10:57:09 +0000 (19:57 +0900)]
ecp-launch: launch .app file in mac os x

In mac os x, launch ecp using 'open' command like following

  # open emulator-control-panel.app --args [params ...]

Change-Id: I9dbf1246decd5ef01272cce18a8841b103e311b1
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
7 years agodisplay: fix transparency bug
Jinhyung Jo [Mon, 19 Sep 2016 11:22:20 +0000 (20:22 +0900)]
display: fix transparency bug

If the alpha value of the color less than 1.0,
there is a issue that the desktop background is blended
on the offscreen mode. So fixed it.

Change-Id: Ic5c80aa7274a8ce6e9b433dc87e2581b0761619c
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agodetail dialog: remove ?(about) button
jihye424.kim [Tue, 20 Sep 2016 07:19:09 +0000 (16:19 +0900)]
detail dialog: remove ?(about) button

Change-Id: I26c70ba1b868b1a769a37cf973231dc764e78da7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agonet: use https_proxy as ecp parameter
Munkyu Im [Mon, 12 Sep 2016 02:27:53 +0000 (11:27 +0900)]
net: use https_proxy as ecp parameter

Search box on location tab uses https protocol to communicate with map server.
To access to map server, need https_proxy value.

Change-Id: Ice4847644abc9939d4e7a5c16e10a224d66c5acd
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agoMerge branch 'features/newscreen' into develop
Jinhyung Jo [Mon, 12 Sep 2016 05:29:16 +0000 (14:29 +0900)]
Merge branch 'features/newscreen' into develop

Conflicts:
tizen/src/ui/qt5_supplement.cpp

Change-Id: Icd310f98594684aa96142b1a7c1af767d3cb16c5
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agodisplay: add initialization option
Jinhyung Jo [Tue, 26 Jul 2016 07:45:42 +0000 (16:45 +0900)]
display: add initialization option

Add code to run with OpenGL Legacy Profile in Mac OS X.

Change-Id: I23967ccdd33d87d96df858460ceaa688b129d41e
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agodisplay: move display functionality to Qt5 GUI
Jinhyung Jo [Wed, 22 Jun 2016 10:32:42 +0000 (19:32 +0900)]
display: move display functionality to Qt5 GUI

Qt5 GUI paints final display with all processing, not in VIGS.
The followings are in this commit.
 - VIGS: remove the code about display rendering
 - VIGS: modify the code about onscreen rendering server
 - VIGS: add functions to delivery the texture id to Qt5 UI
 - Qt5 UI: change the deprecated classes to the new classes
 - Qt5 UI: add OpenGL rendering functionality
 - Qt5 UI: fix the transparent issue with OpenGL
 - Qt5 UI: bug fix caused by image formats
 - etc. : minor modifications

Change-Id: I39471237b5d526751fac95e9fe88f05f6939142c
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agotablet: fix unexpected termination issue
Jinhyung Jo [Mon, 5 Sep 2016 09:52:34 +0000 (18:52 +0900)]
tablet: fix unexpected termination issue

'Null Pointer Dereference' occurs, the emulator dies unexpectedly.
It is caused by commit f998ca30b51b5c549898763d4bd5041380a60416.
The committer have made a mistake when applying the virtio API modification.
The virtio API has been changed as follows:
    previous: int virtqueue_pop(VirtQueue *vq, VirtQueueElement *elem)
    current: void *virtqueue_pop(VirtQueue *vq, size_t sz)

Change-Id: I2c5a20c2741633f855ab0128f7e4dd989404b2b2
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agomonitor: avoid clang shifting negative signed warning
Jinhyung Jo [Wed, 31 Aug 2016 08:30:50 +0000 (17:30 +0900)]
monitor: avoid clang shifting negative signed warning

clang 3.7.0 on x86_64 warns about the following:

  target-i386/monitor.c:38:22: warning: shifting a negative signed value is
undefined [-Wshift-negative-value]
        addr |= -1LL << 48;
                ~~~~ ^

Change-Id: I0885a0fbadc0273b09e58ef756fea34208ca7230
Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agoRevert "yagl: fix the display broken issue"
Vasiliy Ulyanov [Wed, 24 Aug 2016 12:12:32 +0000 (15:12 +0300)]
Revert "yagl: fix the display broken issue"

This reverts commit fcc44797b6faa635424e142a10870370948ee57d.

Currently tizen 2.4 platform does not include the patches needed for 64
bit addresses support in yagl package. Until it is fixed, there is a
need to handle two host/target communication protocol versions at qemu
side. In order to avoid modification of autogenerated files, the
function yagl_transport_get_out_uintptr_t now takes care of different
pointer sizes.

In general, this patch does not completely fix the compatibility problem
with various platfrom versions. I.e. if more API calls are added, there
is a need to make sure they are appended at the end of the funcs array
and the existing calls preserve their ID numbers. Otherwise backward
compatibility will be broken.

Change-Id: I9bb3c118d44f46d72c87d90c08aa34b85d4ab008
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
7 years agovirtio: rewrite with new virtio API
Sooyoung Ha [Tue, 16 Aug 2016 09:33:23 +0000 (18:33 +0900)]
virtio: rewrite with new virtio API

Change-Id: I935332a83e44f49ddb3fc5717b3da7a68b953e88
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.6.3)
SeokYeon Hwang [Tue, 23 Aug 2016 06:42:16 +0000 (15:42 +0900)]
package: update version (2.6.3)

Change-Id: I69d103e682574fcb9b2b0198844d38834d3b3e5c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoinput: fix null pointer dereference before device realizing
SeokYeon Hwang [Tue, 23 Aug 2016 06:38:51 +0000 (15:38 +0900)]
input: fix null pointer dereference before device realizing

Change-Id: Ic988464da57ab65509eb28ea53effd23c1e54d73
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version (2.6.2)
SeokYeon Hwang [Mon, 22 Aug 2016 06:53:41 +0000 (15:53 +0900)]
package: update version (2.6.2)

Change-Id: I72e9e08a049f5a0059a662f2f171f1634e92526c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agobuild: remove kvm module
Munkyu Im [Sat, 20 Aug 2016 08:07:32 +0000 (17:07 +0900)]
build: remove kvm module

It is moved to emulator-supplements package.

Change-Id: I6b4861e4ff9dd7117948fbe8d1f4be2ea4c0b2c7
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agolinuxboot: fix loading old kernels
Paolo Bonzini [Thu, 11 Dec 2014 01:17:03 +0000 (02:17 +0100)]
linuxboot: fix loading old kernels

Old kernels that used high memory only allowed the initrd to be in the
first 896MB of memory.  If you load the initrd above, they complain
that "initrd extends beyond end of memory".

In order to fix this, while not breaking machines with small amounts
of memory fixed by cdebec5 (linuxboot: compute initrd loading address,
2014-10-06), we need to distinguish two cases.  If pc.c placed the
initrd at end of memory, use the new algorithm based on the e801
memory map.  If instead pc.c placed the initrd at the maximum address
specified by the bzImage, leave it there.

The only interesting part is that the low-memory info block is now
loaded very early, in real mode, and thus the 32-bit address has
to be converted into a real mode segment.  The initrd address is
also patched in the info block before entering real mode, it is
simpler that way.

This fixes booting the RHEL4.8 32-bit installation image with 1GB
of RAM.

Cc: qemu-stable@nongnu.org
Cc: mst@redhat.com
Cc: jsnow@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 269e2358492b674c50160553d037702e916b9f1b)

Change-Id: I0f461f04c0a7f97dc23dc7436f98a90ac3812a20
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.6.1)
jihye424.kim [Fri, 19 Aug 2016 02:40:26 +0000 (11:40 +0900)]
package: update version (2.6.1)

Change-Id: I8f84bc367a2c27b1401edf0e308d0e3af6206b67
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agoicon: change emulator icon
jihye424.kim [Fri, 19 Aug 2016 01:24:31 +0000 (10:24 +0900)]
icon: change emulator icon

Change-Id: I6b7c64dac27eca54eb5664f68f31bc861c98ec6b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agonet: modify sdb connection
Munkyu Im [Tue, 16 Aug 2016 10:37:49 +0000 (19:37 +0900)]
net: modify sdb connection

- change the sleeping time efficiently.
- disable stderr from log by using redirection.

Change-Id: I542fe588ed468293f724acf8f1679c17f2c9f878
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agocoreaudio: implement audio-in
Seokyeon Hwang [Wed, 17 Aug 2016 08:56:23 +0000 (17:56 +0900)]
coreaudio: implement audio-in

Change-Id: I7b7c91d24444b7e772846b0a0c64fcf677cad74d
Signed-off-by: Seokyeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version (2.6.0)
Munkyu Im [Mon, 8 Aug 2016 08:31:08 +0000 (17:31 +0900)]
package: update version (2.6.0)

Change-Id: I7c58320db5968a1194e2ec7e313af87aaf6d8d97
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agovmodem: fix null referencing error
Sooyoung Ha [Wed, 10 Aug 2016 15:26:34 +0000 (00:26 +0900)]
vmodem: fix null referencing error

Change-Id: I4e050c932ff2d0b83985219c3b3fb2603327e16e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoecs: fix socket write error on Windows
Jinhyung Choi [Wed, 10 Aug 2016 12:34:16 +0000 (21:34 +0900)]
ecs: fix socket write error on Windows

Posix API write() does not work properly,
so it is changed send().

Change-Id: I4ac7c8a725326bb419fb4494d09400381c5583d0
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agoecs: add vminfo command for ECP CLI
Jinhyung Choi [Tue, 9 Aug 2016 03:00:55 +0000 (12:00 +0900)]
ecs: add vminfo command for ECP CLI

Emulator Control Panel CLI is moved to common tools directory.
Profile and version information is necessary to run it.

Change-Id: I79983dd6302396a8be4bc3307217aec63e9ea5dd
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
7 years agoecp: fix some issues during launching ECP
SeokYeon Hwang [Wed, 10 Aug 2016 04:56:18 +0000 (13:56 +0900)]
ecp: fix some issues during launching ECP

Hide new allocated console and enhance error reporting.

Change-Id: Ife12cae1199baaf8bdb584490574562555d3df64
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agodnd: change dropping action for the installable file
Munkyu Im [Fri, 5 Aug 2016 06:39:18 +0000 (15:39 +0900)]
dnd: change dropping action for the installable file

Shows selection dialog to choose pushing, installing, or cancelling the
installable file.

Change-Id: I4431b83f17105bef60028d58f27b9351a048194e
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agoMerge branch 'develop_qemu_2.6' into develop
SeokYeon Hwang [Mon, 8 Aug 2016 08:16:43 +0000 (17:16 +0900)]
Merge branch 'develop_qemu_2.6' into develop

Change-Id: I3cc654e938834434ef4a9662b1066430a97dc35a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoecp: wrap launcher to launch ecp on Windows
Munkyu Im [Thu, 4 Aug 2016 05:38:21 +0000 (14:38 +0900)]
ecp: wrap launcher to launch ecp on Windows

Change-Id: I1592ba1a09a76e3989684e7f7b3451f8ee9b7079
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agobuild: fix compilation error for new modules
SeokYeon Hwang [Thu, 4 Aug 2016 09:09:28 +0000 (18:09 +0900)]
build: fix compilation error for new modules

Change-Id: I5211b3428af3b5bfe0f06fb12faad889f76a351a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoMerge branch 'develop' into develop_qemu_2.6
SeokYeon Hwang [Thu, 4 Aug 2016 06:25:20 +0000 (15:25 +0900)]
Merge branch 'develop' into develop_qemu_2.6

7 years agopackage: update version (2.5.17)
SeokYeon Hwang [Fri, 29 Jul 2016 05:31:49 +0000 (14:31 +0900)]
package: update version (2.5.17)

Change-Id: I72e19ffd0b2d5d876781b660b011f9b387abb243
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agosensor: modify initial value of pedometer
Sooyoung Ha [Fri, 29 Jul 2016 02:24:42 +0000 (11:24 +0900)]
sensor: modify initial value of pedometer

The pedometer sensor is disabled by default. The sensor framework will
enable if it is available.

Change-Id: I0e1546e86a11b5f09a2869951ea8ad6dd2054b4a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosensor: add pedometer sensor device
Sooyoung Ha [Sun, 10 Jul 2016 09:02:07 +0000 (18:02 +0900)]
sensor: add pedometer sensor device

Change-Id: I4bf3bf11a0942e82f5bdd371d066864f6a2c8be8
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agotuner: add maru_tuner
TaeHyeong Lee [Thu, 14 Jul 2016 01:34:45 +0000 (10:34 +0900)]
tuner: add maru_tuner

Change-Id: Icaf347d674bf8e9893ebcb3a521fbd3dcf007c5a
Signed-off-by: TaeHyeong Lee <time.lee@samsung.com>
7 years agoMerge branch 'develop' into develop_qemu_2.6
SeokYeon Hwang [Tue, 26 Jul 2016 04:20:54 +0000 (13:20 +0900)]
Merge branch 'develop' into develop_qemu_2.6

Change-Id: Iedd4489f6321fa251bd7cbe917e258cd1f60f21d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version (2.5.16)
SeokYeon Hwang [Tue, 26 Jul 2016 02:40:20 +0000 (11:40 +0900)]
package: update version (2.5.16)

Change-Id: Ifeee955ceda2c877559af037a84d76b6528d4bc7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoecp: find new commonized ECP in Windows
SeokYeon Hwang [Tue, 26 Jul 2016 02:14:45 +0000 (11:14 +0900)]
ecp: find new commonized ECP in Windows

Change-Id: Ia1d800b0ba5d7403d98ab4371c2b76b894ed2094
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version (2.5.15)
Sooyoung Ha [Tue, 19 Jul 2016 05:38:18 +0000 (14:38 +0900)]
package: update version (2.5.15)

Change-Id: Id42bd5bd94270d7735712bc62a2e107a2c7eb423
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agolog: modify trivial log printing level
Sooyoung Ha [Mon, 18 Jul 2016 03:15:57 +0000 (12:15 +0900)]
log: modify trivial log printing level

This message is used for running CLI test.

Change-Id: Ifd0610386cfa18daf646b3f23a57a67f691680f6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoecp: new ECP move to tools path
SeokYeon Hwang [Mon, 18 Jul 2016 05:51:31 +0000 (14:51 +0900)]
ecp: new ECP move to tools path

Change-Id: I50a60f1fd4382094a4aa72d79068383c8b09df76
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version (2.5.14)
SeokYeon Hwang [Tue, 12 Jul 2016 02:47:31 +0000 (11:47 +0900)]
package: update version (2.5.14)

Change-Id: I103dd177131bf5ac7b7fd63796cd614da5603058
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoecp: prepare to launch new ecp
SeokYeon Hwang [Mon, 11 Jul 2016 06:15:34 +0000 (15:15 +0900)]
ecp: prepare to launch new ecp

Change-Id: Iea134b63272f0c25cd37666acafd2b42ea6de6ae
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agovigs: add vblank emulation for headless emulator
SeokYeon Hwang [Fri, 8 Jul 2016 11:36:33 +0000 (20:36 +0900)]
vigs: add vblank emulation for headless emulator

Change-Id: Iac85fa67399b51890bfb54c37698f56f2ef40468
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoinput: remove deadlock occured by missing mutex unlock
SeokYeon Hwang [Sun, 10 Jul 2016 11:01:20 +0000 (20:01 +0900)]
input: remove deadlock occured by missing mutex unlock

Change-Id: I06a2ac4437085e959be84f1c465a067a8a457ec2
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoui: clean-up logging for Qt5 UI
SeokYeon Hwang [Sun, 10 Jul 2016 11:04:40 +0000 (20:04 +0900)]
ui: clean-up logging for Qt5 UI

Change-Id: I98436a9f75c8c639ea05289641df09f4383d7e2d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agovirtfs: enable virtfs for qemu 2.6
Sooyoung Ha [Wed, 6 Jul 2016 06:37:19 +0000 (15:37 +0900)]
virtfs: enable virtfs for qemu 2.6

Change-Id: I1b290381a46b7170dc0d356dd96df8defc97ef93
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoui: remove local change that is applied upstream
SeokYeon Hwang [Fri, 8 Jul 2016 11:38:00 +0000 (20:38 +0900)]
ui: remove local change that is applied upstream

Change-Id: Ia9d027c2f4d28f8725601a94c55a90f658582538
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoMerge branch 'develop' into features/newscreen
Jinhyung Jo [Thu, 7 Jul 2016 11:18:29 +0000 (20:18 +0900)]
Merge branch 'develop' into features/newscreen

Change-Id: Ie67dad5a116cad223ef14a5bab2553b4a7c8dd34
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (2.5.13)
Munkyu Im [Thu, 7 Jul 2016 06:02:22 +0000 (15:02 +0900)]
package: update version (2.5.13)

Change-Id: I1888298dc732259fe758dcb865dd75e28501f36a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
7 years agoMerge branch 'develop' into develop_qemu_2.6
SeokYeon Hwang [Wed, 6 Jul 2016 06:04:32 +0000 (15:04 +0900)]
Merge branch 'develop' into develop_qemu_2.6

Change-Id: Id31ceffdbfe8938ea70a11f904fb38e2c4732dd0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: make it buildable on Windows and MacOSX
SeokYeon Hwang [Sat, 2 Jul 2016 06:07:15 +0000 (15:07 +0900)]
package: make it buildable on Windows and MacOSX

VIRTFS is disabled temporarily. It is work again soon.

Change-Id: Ifa8ced8577e78c1cea8dbf314aedb4b33bfb2528
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.5.12)
jihye424.kim [Mon, 4 Jul 2016 08:13:36 +0000 (17:13 +0900)]
package: update version (2.5.12)

Change-Id: Ifab9105245166f2c188fe7dab3b89edd4eafb2d1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agoskin: remove extra space for mac os
jihye424.kim [Mon, 4 Jul 2016 05:57:26 +0000 (14:57 +0900)]
skin: remove extra space for mac os

Change-Id: Iaf078d1f89333f096470047174a9c55b98b52407
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agopackage: update version (2.5.11)
Sooyoung Ha [Tue, 28 Jun 2016 02:26:26 +0000 (11:26 +0900)]
package: update version (2.5.11)

Change-Id: Id016bf86be3b9dc60de36d44e738433c3b12bbff
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: add comma between prerequisite packages
Sooyoung Ha [Tue, 28 Jun 2016 02:06:15 +0000 (11:06 +0900)]
package: add comma between prerequisite packages

Change-Id: I3a2fd5fe6621b76e561beecc6181f22fe836e34a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version(2.5.10)
jihye424.kim [Mon, 27 Jun 2016 02:21:39 +0000 (11:21 +0900)]
package: update version(2.5.10)

Change-Id: I7673bf85f45f8418e64d04c2e0be3db0fcf9b6c6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agonet_helper: fix bugs in D&D logics
SeokYeon Hwang [Sat, 25 Jun 2016 12:35:07 +0000 (21:35 +0900)]
net_helper: fix bugs in D&D logics

Local variable that is char[] type should be initialize with NULL char.
Unnecessary global variable is removed. And, now we can provide D&D
features even if we cannot identify default user home directory.
(At the time, we will use "/tmp" directory as a default.)

Change-Id: I365e782771982700e0096c076603c7d655fa7e55
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoesm: rewrite with new virtio API
SeokYeon Hwang [Tue, 21 Jun 2016 03:17:38 +0000 (12:17 +0900)]
esm: rewrite with new virtio API

Change-Id: Ic0ab82d0fb256d836626ccbfc874929680755f1a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoinput: rotary device move into maru_virtio_input
SeokYeon Hwang [Thu, 23 Jun 2016 04:18:47 +0000 (13:18 +0900)]
input: rotary device move into maru_virtio_input

Change-Id: I0c9bbb0e5f92b13dd05539333c2a0155884bf3a9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoinput: introduce maru_virtio_input
SeokYeon Hwang [Tue, 21 Jun 2016 13:49:20 +0000 (22:49 +0900)]
input: introduce maru_virtio_input

"maru_virtio_input" contains touchscreen, keyboard, hwkey now.
"rotary" will be added soon.

Change-Id: I6a8983e8d7e6e78489ec06d77497042f85d823d7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoskin: change default number of hw button to 6 from 4
jihye424.kim [Thu, 23 Jun 2016 05:22:48 +0000 (14:22 +0900)]
skin: change default number of hw button to 6 from 4

Change-Id: I14dee69cd1713d220c1d514b720386514411d09d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agopackage: update emulator prerequisite packages
Sooyoung Ha [Fri, 17 Jun 2016 10:40:19 +0000 (19:40 +0900)]
package: update emulator prerequisite packages

Change-Id: Iaf1177308913939a7098cb99346d06974b4a003b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: make it buildable
SeokYeon Hwang [Mon, 20 Jun 2016 09:44:25 +0000 (18:44 +0900)]
package: make it buildable

Follow-up header modification.
(commit 90ce6e2644db2c47d72f364b4de57342e50bd10a)
Follow-up virtio API modification.
(commit 51b19ebe4320f3dcd93cea71235c1219318ddfd2)

Change-Id: Ia7b5c2a25b6ad597ba0f506fc616a67984eae6e9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoMerge branch 'develop' into develop_qemu_2.6
SeokYeon Hwang [Mon, 20 Jun 2016 06:25:48 +0000 (15:25 +0900)]
Merge branch 'develop' into develop_qemu_2.6

Change-Id: Ic166886aa338b0d927bcd9a56cb81f6fb6afa0d6

7 years agoMerge tag 'v2.6.0' into develop
SeokYeon Hwang [Mon, 20 Jun 2016 06:25:33 +0000 (15:25 +0900)]
Merge tag 'v2.6.0' into develop

v2.6.0 release

Change-Id: I76aaeae2ace35ddf6dbbd4c11436724688b01929
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agoyagl: fix the display broken issue
SeokYeon Hwang [Thu, 16 Jun 2016 09:55:03 +0000 (18:55 +0900)]
yagl: fix the display broken issue

Change-Id: Ia9c243f59aa86e41c990f071ade4897e5a462801
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
7 years agopackage: update version (2.5.9)
Sooyoung Ha [Thu, 16 Jun 2016 07:26:37 +0000 (16:26 +0900)]
package: update version (2.5.9)

Change-Id: Ieb54fc330bb5e382bd459c043cfe086304b2d46e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoyagl: introduce yagl protocol version
Sooyoung Ha [Thu, 16 Jun 2016 05:49:54 +0000 (14:49 +0900)]
yagl: introduce yagl protocol version

Now yagl device receives the protocol version from emulator run option
and put it into emulator kernel to notice to user.

Change-Id: Id3baacf035a2e723a0ebad4e1cfe22b26af72d03
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoinput: rewrite virtio touchscreen / keyboard device
SeokYeon Hwang [Wed, 15 Jun 2016 08:36:13 +0000 (17:36 +0900)]
input: rewrite virtio touchscreen / keyboard device

Simplified input processing and delivering logics.
Used proper virtio APIs.

Change-Id: Iebb5dede2b34d0e1a9243d65258bffd3180f56df
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.5.8)
SeokYeon Hwang [Mon, 13 Jun 2016 05:14:41 +0000 (14:14 +0900)]
package: update version (2.5.8)

Change-Id: Ia49e63148b733b299e432b467213f34d83b5127b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: use rpath based library loading for Linux
SeokYeon Hwang [Thu, 9 Jun 2016 08:36:22 +0000 (17:36 +0900)]
package: use rpath based library loading for Linux

On Linux, now, we use rpath based library loading.
Some unnecessary dependency is detached from qt5_msgbox.

Change-Id: I43c9ed9f84b97c52240402728f46ff51bf12f78a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.5.7)
Sooyoung Ha [Thu, 9 Jun 2016 05:14:49 +0000 (14:14 +0900)]
package: update version (2.5.7)

Change-Id: I9e33615eac3dfcd16a92f8e0400db99b3c9fbffb
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agopackage: remove spice-server dependancy
SeokYeon Hwang [Wed, 8 Jun 2016 06:58:30 +0000 (15:58 +0900)]
package: remove spice-server dependancy

"spice-server" has a build problem now. So we remove its dependancy
temporarily.
Redundant "install" / "remove" scripts are removed.

Change-Id: I4a499df8bda3fd7299a3d6281b1d01b794ac5c24
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.5.6)
Sooyoung Ha [Tue, 7 Jun 2016 02:41:52 +0000 (11:41 +0900)]
package: update version (2.5.6)

Change-Id: I4c384e17f64f4674ea7f131bcb119c0b5bce21ee
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agopackage: use @rpath based library loading for MacOSX
SeokYeon Hwang [Wed, 1 Jun 2016 06:57:34 +0000 (15:57 +0900)]
package: use @rpath based library loading for MacOSX

Change-Id: I9b46d17b2e976c10009e8274f1fb5ffc918420a0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoMerge branch 'features/dnd' into tizen_3.0_develop
Munkyu Im [Thu, 26 May 2016 05:32:18 +0000 (14:32 +0900)]
Merge branch 'features/dnd' into tizen_3.0_develop

Change-Id: Idaba41f03534faef364701012e69aa1fb4831dd5
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agopackage: update version (2.5.5)
Munkyu Im [Wed, 25 May 2016 09:28:16 +0000 (18:28 +0900)]
package: update version (2.5.5)

Change-Id: I97d657dc98d4a3cf1c4e6b4ab544404b3fb2f2b2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agonet: remove tap uninstaller
Munkyu Im [Mon, 23 May 2016 10:18:22 +0000 (19:18 +0900)]
net: remove tap uninstaller

Change-Id: Ie3beb2883cd8321bffeca61221742c7f33749637
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agoUpdate version for v2.6.0 release
Peter Maydell [Wed, 11 May 2016 15:44:26 +0000 (16:44 +0100)]
Update version for v2.6.0 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 years agoUpdate version for v2.6.0-rc5 release
Peter Maydell [Mon, 9 May 2016 13:08:12 +0000 (14:08 +0100)]
Update version for v2.6.0-rc5 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 years agoMerge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20160509-1' into staging
Peter Maydell [Mon, 9 May 2016 12:42:25 +0000 (13:42 +0100)]
Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20160509-1' into staging

vga security fixes (CVE-2016-3710, CVE-2016-3712)

# gpg: Signature made Mon 09 May 2016 13:39:30 BST 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-vga-20160509-1:
  vga: make sure vga register setup for vbe stays intact (CVE-2016-3712).
  vga: update vga register setup on vbe changes
  vga: factor out vga register setup
  vga: add vbe_enabled() helper
  vga: fix banked access bounds checking (CVE-2016-3710)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 years agoUpdate version for v2.6.0-rc4 release
Peter Maydell [Mon, 2 May 2016 16:27:01 +0000 (17:27 +0100)]
Update version for v2.6.0-rc4 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 years agoRevert "acpi: mark PMTIMER as unlocked"
Gerd Hoffmann [Fri, 15 Apr 2016 06:43:29 +0000 (08:43 +0200)]
Revert "acpi: mark PMTIMER as unlocked"

This reverts commit 7070e085d490c396f9237c8f10bf8b6e69cd0066.

Commit message claims locking is not needed, but that appears
to not be true, seabios ehci driver runs into timekeeping problems
with this, see
https://bugzilla.redhat.com/show_bug.cgi?id=1322713

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1460702609-25971-1-git-send-email-kraxel@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 years agovga: make sure vga register setup for vbe stays intact (CVE-2016-3712).
Gerd Hoffmann [Tue, 26 Apr 2016 12:48:06 +0000 (14:48 +0200)]
vga: make sure vga register setup for vbe stays intact (CVE-2016-3712).

Call vbe_update_vgaregs() when the guest touches GFX, SEQ or CRT
registers, to make sure the vga registers will always have the
values needed by vbe mode.  This makes sure the sanity checks
applied by vbe_fixup_regs() are effective.

Without this guests can muck with shift_control, can turn on planar
vga modes or text mode emulation while VBE is active, making qemu
take code paths meant for CGA compatibility, but with the very
large display widths and heigts settable using VBE registers.

Which is good for one or another buffer overflow.  Not that
critical as they typically read overflows happening somewhere
in the display code.  So guests can DoS by crashing qemu with a
segfault, but it is probably not possible to break out of the VM.

Fixes: CVE-2016-3712
Reported-by: Zuozhi Fzz <zuozhi.fzz@alibaba-inc.com>
Reported-by: P J P <ppandit@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 years agovga: update vga register setup on vbe changes
Gerd Hoffmann [Tue, 26 Apr 2016 13:39:22 +0000 (15:39 +0200)]
vga: update vga register setup on vbe changes

Call the new vbe_update_vgaregs() function on vbe configuration
changes, to make sure vga registers are up-to-date.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 years agovga: factor out vga register setup
Gerd Hoffmann [Tue, 26 Apr 2016 13:24:18 +0000 (15:24 +0200)]
vga: factor out vga register setup

When enabling vbe mode qemu will setup a bunch of vga registers to make
sure the vga emulation operates in correct mode for a linear
framebuffer.  Move that code to a separate function so we can call it
from other places too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 years agovga: add vbe_enabled() helper
Gerd Hoffmann [Tue, 26 Apr 2016 12:11:34 +0000 (14:11 +0200)]
vga: add vbe_enabled() helper

Makes code a bit easier to read.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 years agovga: fix banked access bounds checking (CVE-2016-3710)
Gerd Hoffmann [Tue, 26 Apr 2016 06:49:10 +0000 (08:49 +0200)]
vga: fix banked access bounds checking (CVE-2016-3710)

vga allows banked access to video memory using the window at 0xa00000
and it supports a different access modes with different address
calculations.

The VBE bochs extentions support banked access too, using the
VBE_DISPI_INDEX_BANK register.  The code tries to take the different
address calculations into account and applies different limits to
VBE_DISPI_INDEX_BANK depending on the current access mode.

Which is probably effective in stopping misprogramming by accident.
But from a security point of view completely useless as an attacker
can easily change access modes after setting the bank register.

Drop the bogus check, add range checks to vga_mem_{readb,writeb}
instead.

Fixes: CVE-2016-3710
Reported-by: Qinghao Tang <luodalongde@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>