Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
maru_register_exit_msg() can accept variable arguments.
Remove maru_convert_path(), Add get_canonical_path().
Change-Id: I7975510cfb34a0bbb633df5a74ffce21922c0c92
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
|
|
|
|
Change-Id: I5b2c51ef18849fa6f29e126ef889dcff86cad645
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
|
|
Clean-up legacy board initializtion.
Remove unused variables.
Change-Id: I480b179c34cece682a13253bd3f0f3c37e2d21d4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Tizen specific virtio devices are moved into "tizen/src/hw/maru_virtio_pci.c".
Change-Id: Ie6664508c02ac07a65aacb7baa6a8bee981f8f25
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
mloop_event and related files are removed.
RAM dump feature is disabled now, it will be supported by new QMP logic soon.
Change-Id: Icc2def5741e0598d6c21f29d0fe45956992e121a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Change-Id: I1ca6572ce2b2ba75329451f1274e4eb60e111c69
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Do not use old hotplug logic anymore.
"Hotplug logic" becomes independent of legacy mloop.
"mloop" will be removed.
Change-Id: Ib1c40cb9bb65e6f2d8a2310ad5a0c761184b6321
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
"pdev" and its member may be unrealized and be freed, so accessing a member of "pdev" is able to cause heap memory corruption.
Check the change of "device_unparent()" in the commit 5c21ce77d7e5643089ceec556c0408445d017f32.
Change-Id: Iacb195a092c86d4c677ad0404582af104b2251ae
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Apply new style Makefile system for emulator.
Clean-up Some include path and build path.
Make new directory "display", "util" under "tizen/src/"
We have no common object(common-obj) yet.
Change-Id: I3cb0dab21a8fc22e6b145b251906c4e53f0a86a4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
YaGL and VIGS devices can now be created
entirely from QEMU command line, it's also possible
to tweak all their parameters via QEMU command line
and even have 2 or more separate instances
Change-Id: Ic1ae18f9ac6078f872d28519443e17974abefe82
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
these files are now in hw/*
Change-Id: I02513ae9d951d62ea932ebf2c5496dce1f2a855a
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
Change-Id: I86df47eb3d88038c373b44e450ef1174b39dc782
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
|
|
New options for YaGL, VIGS is introduced.
-device vigs,backend=[backend]
-device yagl
Old options are still available.
Change-Id: I8c19bde6fb66dbb75f9aaee434a8bc98160048fd
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Now, the telephony virtual modem will use the vmodem device to communicate
with ECP, not emulator daemon.
Change-Id: Icadf54f977f4da84da4cd9745e72b20e0b672548
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
|
|
Change-Id: Idfe6eb74f35fa13c9518dedb18adec3b9ed1de20
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Change-Id: Id848ece229dc5288f4bb407b2c14f8e6a71277a2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
|
|
With recent host OpenGL drivers (such as mesa 9.2.1)
functions like glFramebufferXXXEXT no longer work right from
within OpenGL 3.1+ contexts, glFramebufeerXXX (no EXT suffix)
functions must be used instead
Change-Id: I78525de16868bd65d3e30c6d0518ddae3dbb28df
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
mp_dacl_setxattr function was returned before releasing a buffer.
Change-Id: Id81ea87389408bafd3a4ee5e08c71d6cd2c98e98
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
|
|
Fix the virtfs-9p build failure on some windows environment and enable it.
The old-version MinGW's 'struct dirent' doesn't support 'd_type' member. This d_type has the information of the file type, but it's not mandatory. The other api can get the file type information. So d_type is to be always zero on windows.(zero means unknown type)
Change-Id: I1c657134bbc6188a7d6a9cfc2534664efe3ceea4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
|
|
Change-Id: Iab0dc5472a993dcf392bcdd084154cab6baab238
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
|
|
Change-Id: I63dfd087c6935c5c5d33990964035fb0a3cdd706
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
|
|
Mac OS X 10.7 supports OpenGL 3.2, however, it doesn't have
all the necessary functions implemented in order to implement
GLESv3 on target. This workaround checks for some mandatory
functions and if at least one of them is not present - we revert
back to OpenGL 2.1. A nicer fix would be checking for OpenGL
functions globally, not in CGL backend, this is a TODO
Change-Id: I9c0acce3220af9ed7276a8586fa18b97d8223079
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Conflicts:
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p-posix-acl.c
hw/9pfs/virtio-9p-xattr-user.c
hw/9pfs/virtio-9p-xattr.c
hw/9pfs/virtio-9p-xattr.h
hw/9pfs/virtio-9p.h
hw/virtio/virtio-pci.c
tizen/src/emulator.c
tizen/src/hw/maru_brill_codec.c
tizen/src/hw/maru_virtio_touchscreen.h
tizen/src/maru_sdl.c
|
|
support the virtio-9p local operations on Windows to provide host directory sharing.
Change-Id: Ib8869cba7bd1cb248d23feb19c73235b19192d86
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
|
|
From now on, we use VIGS device.
Change-Id: Ic7f7ba8bbaebe22227f1d252cf5739b4b0cb9033
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
|
|
From now on, we use YaGL device.
Change-Id: Ice1be9eb1fe135b15475c3b51ee5b82f7b503d37
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
|
|
The previous commit comes from qemu 1.2 version.
This commit resolves compiliation errors and clean sources up.
Change-Id: I5463b08aaccaa40a431dd7ee965bcf6d0faf3c01
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
|
|
Support virtio-9p local operation on Mac OS X to provide host directory sharing.
Change-Id: Ic034673c6d3d4102ebe4fbaea7e186fffec34a2f
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
|
|
linux kernel 3.12 has changed intel-hda
driver to always check for FIFORDY, this
causes long hangs in guest since QEMU
always has this bit set to 0. We now simply set
it to 1 always, since we're synchronous anyway
and always ready to receive the stream
Change-Id: I5bb3f36094e6c8b23a0338f31ff949d863c378ec
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
(cherry picked from commit 62c37a816010779308706bf69bfd897aedbdbf6d)
|
|
linux kernel 3.12 has changed intel-hda
driver to always check for FIFORDY, this
causes long hangs in guest since QEMU
always has this bit set to 0. We now simply set
it to 1 always, since we're synchronous anyway
and always ready to receive the stream
Change-Id: I5bb3f36094e6c8b23a0338f31ff949d863c378ec
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
added max_point deivce option for virtio touchscreen
remove -max-touch-point option
Change-Id: I32ff1b18d39c6c05364a5723ab68a0b9887fa047
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Conflicts:
tizen/src/hw/maru_virtio_touchscreen.h
|
|
added max_point deivce option for virtio touchscreen
remove -max-touch-point option
Change-Id: I32ff1b18d39c6c05364a5723ab68a0b9887fa047
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
|
|
1. Some qemu function prototype modification.
graphic_console_init()
qemu_thread_create()
2. A "work_queue.c" is moved to "vigs".
Change-Id: I066734b08bb8ad59aeb5afb67049065048bcdd63
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
|
|
Initial merge
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Conflicts:
.gitignore
Makefile.target
block/raw-win32.c
configure
cpu-exec.c
cpus.c
hw/9pfs/virtio-9p-device.c
hw/i386/pc_piix.c
include/exec/cpu-defs.h
include/qemu-common.h
include/sysemu/sysemu.h
include/ui/console.h
tcg/i386/tcg-target.c
tcg/tcg.h
ui/console.c
ui/input.c
util/oslib-posix.c
vl.c
Change-Id: I52df9052942eea8d541bde75fd936e58a9f2f8ff
|
|
Separate short commands (1 unit long) could be skipped due
to incorrect check, this is now fixed
Change-Id: I8736abb171e35563580407a25cdffadfc589ed18
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
In order not to waste host GPU resources we now
have 2 OpenGL object pools - for temporary textures
and for framebuffers. These used to be allocated for
every surface, but now we allocate only one object
per distinct format, i.e. one
object per (width, height, format) tuple
Change-Id: Ie63e571045a2477043e8e08da3a50765523e54fc
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
|
|
acpi: SSDT update
This has a fix by Igor for a regression introduced by
bridge hotplug code.
Expected test files were updated accordingly.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
# gpg: Signature made Mon 14 Apr 2014 13:13:35 BST using RSA key ID D28D5469
# gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
# gpg: aka "Michael S. Tsirkin <mst@redhat.com>"
* remotes/mst/tags/for_upstream:
acpi-test: update expected files
acpi: fix incorrect encoding for 0x{F-1}FFFF
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
The SMART self test counter was incorrectly being reset to zero,
not 1. This had the effect that on every 21st SMART EXECUTE OFFLINE:
* We would write off the beginning of a dynamically allocated buffer
* We forgot the SMART history
Fix this.
Signed-off-by: Benoit Canet <benoit@irqsave.net>
Message-id: 1397336390-24664-1-git-send-email-benoit.canet@irqsave.net
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Cc: qemu-stable@nongnu.org
Acked-by: Kevin Wolf <kwolf@redhat.com>
[PMM: tweaked commit message as per suggestions from Markus]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Fix typo in build_append_int() which causes integer
truncation when it's in range 0x{F-1}FFFF by packing it
as WordConst instead of required DWordConst.
In partucular this fixes a regression: hotplug in slots 16,17,18 and 19
didn't work, since SSDT had code like this:
If (And (Arg0, 0x0000))
{
Notify (S80, Arg1)
}
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
|
|
CVE-2013-4544
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1396604722-11902-5-git-send-email-dmitry@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
CVE-2013-4544
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1396604722-11902-4-git-send-email-dmitry@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
CVE-2013-4544
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1396604722-11902-3-git-send-email-dmitry@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
CVE-2013-4544
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1396604722-11902-2-git-send-email-dmitry@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
At idle screen moment, there is no need to copy framebuffers
to the display.
Change-Id: I4006e5732de947ce1617161182ca901b179c9423
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
|
|
When VM guest programs multicast addresses for
a virtio net card, it supplies a 32 bit
entries counter for the number of addresses.
These addresses are read into tail portion of
a fixed macs array which has size MAC_TABLE_ENTRIES,
at offset equal to in_use.
To avoid overflow of this array by guest, qemu attempts
to test the size as follows:
- if (in_use + mac_data.entries <= MAC_TABLE_ENTRIES) {
however, as mac_data.entries is uint32_t, this sum
can overflow, e.g. if in_use is 1 and mac_data.entries
is 0xffffffff then in_use + mac_data.entries will be 0.
Qemu will then read guest supplied buffer into this
memory, overflowing buffer on heap.
CVE-2014-0150
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1397218574-25058-1-git-send-email-mst@redhat.com
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
commit f2ccc311df55ec026a8f8ea9df998f26314f22b2
dsdt: tweak ACPI ID for hotplug resource device
changes the DSDT, update hex files to match
Otherwise the fix is only effective if QEMU is built
with iasl.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
The raven_io_read() and raven_io_write() functions pass and
return values in little-endian format (since the IO op struct
is marked DEVICE_LITTLE_ENDIAN); however they were storing the
values in the buffer to pass to address_space_read/write()
in host-endian order, which meant that on big-endian hosts
the values were inadvertently reversed. Use the *_le_p()
accessors instead so that we are consistent regardless of
host endianness.
Strictly speaking the byte order of the buffer for
address_space_rw() is target byte order (which for PPC
will be BE) but it doesn't actually matter as long as we
are consistent about the marking on the IO op struct and
which stl_*_p().
This bug was probably introduced due to confusion caused by
the two different versions of ldl_p() and friends:
bswap.h defines versions meaning "host endianness access"
cpu-all.h defines versions meaning "target endianness access"
As a target-independent source file prep.c gets the bswap.h
versions; the very similar looking code in ioport.c is
compiled per-target and gets the cpu-all.h versions.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1396972271-22660-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Richard Henderson <rth@twiddle.net>
|