History log of /external/qemu/vl-android.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
58ecd74ecb860c173e8ccc2074887165cc5dc43d 18-Jul-2012 Manuel Francisco Naranjo <manuel@aircable.net> fix bug in usb hub initialization

Change-Id: I4dce451af970bd9dcaf4f2ac57325bc19cb69d82
/external/qemu/vl-android.c
035f805e44a2a5ea556e425584060fad1f4230b6 18-May-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Use -qemu -lcd-density parameter for setting qemu.sf.lcd_density boot property.

Change-Id: Ibfd85c3e351caef89ae57630c824255f29f47914
/external/qemu/vl-android.c
cf289fbe0669ad54965e9f378b7e7b4edea9d814 14-May-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Check RAM availability before VM is initialized.

Quite often (especially on older XP machines) attempts to allocate large VM RAM is
going to fail, and crash the emulator. Since it's failing deep inside QEMU, it's
not really possible to provide the user with a meaningful explanation for the crash.
So, before initializing VM we should check if QEMU is going to be able to allocate
requested amount of RAM, and if not, try to come up with a recomendation.

Change-Id: Id6213d50c70f6bd3b32c4df2ded96d8e3013ec40
/external/qemu/vl-android.c
ba5c1f674511aff458dae69927a1c61d60e66aa1 09-May-2012 Jesse Hall <jessehall@google.com> Remove init-time GLES per-frame callback

The GLES renderer interface now allows the per-frame callback to be
registered after initialization. This change updates the emulator to
use the new interface. Since reading back completed frames is slow
(due to pipeline flush/stall), a future change will enable the
callback only while multitouch emulation is actually in use.

Change-Id: I7ad23b4bebe1bd3077863da4d50333cc0578519e
/external/qemu/vl-android.c
1efe36f95c788400c8b504b9055173bc8f9a4d15 03-May-2012 Jesse Hall <jessehall@google.com> Merge "Provide GL strings from renderer to ddms ping"
3d894287d2907dc6a0fc45d7a5b77dbe76ab2bd6 01-May-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed pc-bios path in standalone emulator

pc-bios was recently moved to new directory. Change emulator to
search in new path in standalone mode (built in external/qemu
and run from external/qemu/objs). To be specific, change

../../../prebuilt/common/pc-bios/

to

../../../prebuilts/qemu-kernel/x86/pc-bios/

Change-Id: Id79534349394c9b47f8ef5dda76f2a21268b58fe
/external/qemu/vl-android.c
733fffaac9ccebfc424fccf9467b22475f71a2f8 26-Apr-2012 Jesse Hall <jessehall@google.com> Provide GL strings from renderer to ddms ping

Change-Id: I59c9e58c568a70855783e57514fec80b711d6a64
/external/qemu/vl-android.c
6699b688d7dbd7ad4a07ca1c1f77db864012010a 18-Apr-2012 Jesse Hall <jessehall@google.com> Publish and use libOpenglRender interface header

The emulator opengles.c file duplicated the function declarations from
libOpenglRenderer's render_api.h instead of including it directly.
This led to multiple bugs since the declarations didn't actually
match, but there was no way for the compiler or dynamic loader to
check this.

This change makes opengles.c include render_api.h to get function
pointer prototypes, and changes the prototypes/implementation as
necessary to make both sides actually match. It should be much more
difficult to introduce interface mismatch bugs now.

Two bugs this change would have prevented:
(a) The interface mismatch caused by inconsistent branching which led
to GPU acceleration crashing on Windows. With this change, we
would have caught the problem at compile time.
(b) The emulator verbose log has always been printing "Can't start
OpenGLES renderer?" even when the renderer started fine. This is
because the renderer was returning a bool (true == success) but
the emulator's declaration said it returned int, and the emulator
assumed 0 meant success. This difference in return type should now
be caught at compile time.

Change-Id: I5b3c70c9a40854332d67e37333acd6edb6ad01f6
/external/qemu/vl-android.c
1a820e90d8848c6b0ac7c78b5a2e8b28c9738a3a 11-Apr-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Enable multi-touch emulation with -gpu on

This CL implements a callback that gets invoked by OpenGLES emulator on it framebuffer
updates. This allows transferring framebuffer changes to the supporting device.

Proper implementation of this new callback also required changes to JPEG compression,
addressing:

1. OpenGLES framebuffer format is RGBA8889, which required implementing line conversion
for this format.
2. OpenGLES framebuffer is (or at least could be) bottom-up arranged. This requires changes
to the compressor, so it compresses the FB starting from the bottom, so the resulting
image is up-bottom.

Change-Id: Icd4efbe4a251c838adfa3518decbfc43a7ef06c8
/external/qemu/vl-android.c
9dcf03fda8001a74016a316b0aa223f6675dff37 27-Mar-2012 Jesse Hall <jessehall@google.com> Merge "EmuGL: Add OnPost callback to OpenGL renderer"
7105d422d800a624b4257798e0d81ec2045491d8 21-Mar-2012 Jesse Hall <jessehall@google.com> EmuGL: Add OnPost callback to OpenGL renderer

Match the interface changes in the OpenGL renderer that add a
per-frame callback. The callback isn't used in this change.

This change is co-dependent on Idae3b026d52ed8dd666cbcdc3f3af80175c90ad3
in development/.

Change-Id: Idae3b026d52ed8dd666cbcdc3f3af80175c90ad3
/external/qemu/vl-android.c
b557e9f989598460eb950cb3942a79f805a2a5bb 22-Mar-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Get rid of compiler warnings.

Compiler throws warnings that 'dhport/dlport' may be used uninitialized, which creates
a lot of noise when compiling the emulator. The way the variables are used and initialized
makes it completely safe to ignore these warnings.

Change-Id: I87c9930c73bb8d54a86e826ca23b32010fbc046f
/external/qemu/vl-android.c
82cb5a041bfa5fa0495e8c9e570371bf708af11a 22-Mar-2012 Jesse Hall <jessehall@google.com> Revert "EmuGL: Add OnPost callback to OpenGL renderer"

This reverts commit 2f4361f1d63751f1f72e1a1f953acfb9c05727da
/external/qemu/vl-android.c
2f4361f1d63751f1f72e1a1f953acfb9c05727da 21-Mar-2012 Jesse Hall <jessehall@google.com> EmuGL: Add OnPost callback to OpenGL renderer

Match the interface changes in the OpenGL renderer that add a
per-frame callback. The callback isn't used in this change.

This change is co-dependent on Idae3b026d52ed8dd666cbcdc3f3af80175c90ad3
in development/.

Change-Id: Idae3b026d52ed8dd666cbcdc3f3af80175c90ad3
/external/qemu/vl-android.c
7485c2989d727a1d0c14a66fb75e140f885a1583 19-Mar-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Refactor HW config to use hw.camera_back, and hw.camera_front properties.

This is a continuation of an effort to simplify HW config, and make the UI for it clearer.
This CL gets rid of multiple camera emulation properties, combining everything into just
two properties:
- hw.camera_back that controls emulation of a camera facing back, and
- hw.camera_front that controls emulation of a camera facing front.

Change-Id: Ia114ae4caf2053685cbff00f39088e5b5be2952c
/external/qemu/vl-android.c
863d1010d9c8fa4342b1b0ea860bcfb096806acc 16-Mar-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Cleanup harware properties.

1. Remove unused hw.camera.maxHorizontalPixels, and hw.camera.maxVerticalPixels parameters.
2. Combine hw.touchScreen, and hw.multiTouch under one property: hw.screen

Change-Id: I3cdf64f7d7e46486110cbc0769f9d98a61f0bea5
/external/qemu/vl-android.c
c7389bd69e570a2c8432b37399aff1976b021f0f 13-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> 64-bit emulator

Patch to allow emulator searches for emulator64-${ARCH} first on
64-bit OS. If none is found, the original behavior which searchs
for 32-bit emulator-${ARCH} is performed as usual.

64-bit emulator (which still emulates Android built in 32-bit) offers
up to 20% speedup compared to its 32-bit counterpart.

Details:

android/main-emulator.c
1) search emulator64 based on the OS
2) dlopen lib64OpenglRender in 64-bit

Makefile.*
1) Rules to build 64-bit executable emulator64-{x86,arm} and libraries
emulator64-{libui,libqemu,target-i386,target-arm,libelff,common}
2) remove -Wa,-32
3) Changes prebuit toolchain path

android-configure.h
android/build/common.h
1) no longer force 32-bit build (because now prebuilts/tools/gcc-sdk/gcc
can now handle 64-bit
2) set ANDROID_PREBUILTS to correctly locate ccache

android/config/*/config-host.h
1) Detect HOST_X86_64 and HOST_X86_64/HOST_I386

Misc 64-bit porting clean-up
1) use %zx to print variable of type size_t in hex
2) use %zu to print variable of type size_t in dec
3) Initialize query_parm to NULL
4) use PRIu64 to replace PDUd64
5) use PRId64/PRIu64/PRIX64 to print 64-bit
6) drop PRUx64 because PRIx64 does the same
7) cast pointer arith to intptr_t before casting to int
8) fixed 1ULL<<63

Change-Id: Ife62a20063a6ec38d4a9b23977e840af1fce149a
/external/qemu/vl-android.c
8dd31e8e10fc3ca10192368acf19d2345eeddde7 16-Feb-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Multi-touch emulation support

Change-Id: I311dc55fe10f41637775baa330a7c732ff317f51
/external/qemu/vl-android.c
4a5a0efd49f100c7d53920807c83d9c74304ecd8 22-Feb-2012 Jiang, Yunhong <yunhong.jiang@intel.com> Check HAXM capability in QEMU

Checking HAXM capability to check if emulator can use HAXM virtalization.
Currently two possibility that HAXM not work. Firstly is VT/NX is not enabled
in the system, seconly is HAXM have used up the memory quota. See code comemnts
for the memry quota explaination.

Checking the capability in advance can give user more information that why HAXM
is not working and be more user friendly.

Change-Id: I13f73734cf783398f485fabd19cce43364b571c3
Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Gao, Fengqian <fengqian.gao@intel.com>
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
/external/qemu/vl-android.c
a381ef07088ce479610129e37bfef42538f397da 18-Dec-2011 Jun Nakajima <jun.nakajima@intel.com> Changes to existing files to add HAX support

HAX (Hardware-based Accelerated eXecution) employes hardware virtualization
technology to boost performance of the Android emulator on Mac OS X or Windows
hosts.
This changeset includes the changes required to the existing files. To pass
the compilation, hax.h is added, but CONFIG_HAX is disabled so that no
real changes added.

Change-Id: Ifa5777e8788e6698747c1ec4cd91315161c2ca0b
Signed-off-by: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Nakajima, Jun <jun.nakajima@intel.com>
/external/qemu/vl-android.c
db450d73092add519efddcd6d55c7a0e7541ec70 12-Jan-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Respect HW configs when loading VM from snapshots.

Changing HW configuration properties may cause emulator / guest system crash on
condition that VM has been loaded from a snapshot. This CL addresses this issue
in the following way:

1. Each time a snapshot is saved, a backup copy of HW config is saved with it.
2. Each time a snapshot is loaded, emulator finds an appropriate HW config
backup, and compares current HW config with the one that was saved in the
backup, and if configs are different, emulator exits with an appropriate
error.

Change-Id: I730bec0afbe166e88189fdcc4804b76e109e4422
/external/qemu/vl-android.c
fa0c8e25403290b545bb98735b1ece275c524361 04-Oct-2011 Xavier Ducrohet <xav@android.com> New AVD property to control presence of hw main keys.

This allows injecting a new runtime property into the system
running on the emulator to control whether to display the new
software back/home keys.

Change-Id: I2bf7cc5c291752090187463332219638e883d052
/external/qemu/vl-android.c
33f89d05b375f18596fa5892acaaae356fbb0c0e 28-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fix CPU architecture reported in HW config

Change-Id: I9221916514a39435d2710fa9dada92a87bdc4dab
/external/qemu/vl-android.c
b8dcaffaf7dcb0c795d2776abf3bb75196f8527c 17-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Add -webcam commandline option to control webcam emulation

-webcam name=<name>[,dir=<direction>] options controls web cameras to use for emulation.

Change-Id: I961fd399c7e041541adda040dd24f194cc383cb9
/external/qemu/vl-android.c
ae0d8136ce0d3c39ca80c64763e633b86b0c5453 13-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Add cmdline param to control fake camera emulation

- Enable / Disable fake camera
- Set fake camera facing direction: back, or front

Change-Id: Iab741a694daf2bf752e91e23df566a83ac7a97e7
/external/qemu/vl-android.c
c646f5e40ddda3d49b581ac0c78cf748b5dee74c 04-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Camera service skeleton

Skeleton that implements camera emulation service over QEMU pipe. More meat
will be added as the guest camera emulation develops.

This is a patch taken from approved AOSP commit that didn't go through
because of a merge conflict.

Change-Id: I6f0a2e42be4f5f0bd86d3dbf0c2a609e74b200c2
/external/qemu/vl-android.c
cb88e79ecbd16dea5f2201fd12320db5945db83e 26-Aug-2011 David 'Digit' Turner <digit@android.com> Add hw.gpu.enabled hardware property

This patch adds a new hardware property to enable GPU emulation
(named hw.gpu.enabled). It is currently disabled by default.

It also modifies the UI code to display the GL output properly
inside the UI window. And sets the kernel parameter qemu.gles
to either 0 or 1 to indicate to the guest system's GLES libraries
whether to use GPU emulation or fallback to the software renderer.

A future patch will also add auto-detection of desktop GL capabilities.
For example, if the emulator is started on a headless server without
an X11/GL display, hw.gpu.enabled will be forced to 'no', forcing the
guest to use the software renderer.

Another patch will allow to change the property from the command-line
for debugging purpose.

NOTE: If you want to test GPU emulation, change the default value of
the property in android/avd/hardware-properties.ini from 'no'
to 'yes'. You will need to run a ToT master AOSP tree with
the following pending patches applied:

https://review.source.android.com/25797
https://review.source.android.com/25154
https://review.source.android.com/25759

Change-Id: I1fa3512be24395244fd5068f2bf59ad54db5c7d5
/external/qemu/vl-android.c
f816a75ca5b357563a4ecf996e95b24ffabd0b54 23-Jun-2011 David 'Digit' Turner <digit@android.com> Fix -audio <name> and -no-audio processing.

Turns out that the string passed to putenv() must not be modified :-/

We provide our own win32 implementation for emulator-ui that doesn't
embed the os-win32.c QEMU-specific file.

Change-Id: I7260fbc37d23a5340dab589dfde577ef5eb10005
/external/qemu/vl-android.c
406a59bd0a2e7a38cd840a5c08602e3a36bd2df8 12-May-2011 David 'Digit' Turner <digit@android.com> trace.h: rename to trace-android.h

This is done to allow for future integration of the
upstream auto-generated "trace.h" header file.

Change-Id: I9d1bba3320d9e8acfd7359540d3ed6695773061e
/external/qemu/vl-android.c
280afa072a7b829e581d884c2b3276530a6014b7 11-May-2011 David 'Digit' Turner <digit@android.com> ramblocks: integrate upstream implementation (sophisticated)

Change-Id: I49e96e2d5ae571849b0b6fef0a30b41ecdee8d23
/external/qemu/vl-android.c
ae3098a3bce898cf958a6c3334f3d62282b12d2a 11-May-2011 David 'Digit' Turner <digit@android.com> vl-android.c: move arch-specific functions to arch_init.c

Change-Id: I4908006f3492aab199466c501dedff2bd835d647
/external/qemu/vl-android.c
23ca2ae2bf303236eb6b1e0beb126ec05c6c23bf 01-Jun-2011 David 'Digit' Turner <digit@android.com> vl-android.c: move cpu functions to cpus.c

Change-Id: Ib422f24224c2e75dd126689c67dbbb187d7c1670
/external/qemu/vl-android.c
c1ac40a3f493bebe160a441faf36cc9b28b9f205 01-Jun-2011 David 'Digit' Turner <digit@android.com> vl-android.c: use os-specific setup routines

Also fixes a bug in os-posix.c

Change-Id: If2c6fb94d3e48d1db051aa9141dc2f69bdca35a8
/external/qemu/vl-android.c
8354d2d35fe4463816dcc52a96fa354940fdd38f 11-May-2011 David 'Digit' Turner <digit@android.com> vl-android.c: Move code to iohandler.c

Change-Id: I28d2025dfa1f7bfc1ab2318f5ff6c0fd56f4b658
/external/qemu/vl-android.c
8ee4e5ed2bf68384cd80ec5b958da4da164652ae 09-May-2011 David 'Digit' Turner <digit@android.com> trace: simplify code and avoid conflicts

Change-Id: I8f93e06038bd6e35a2972e3fef351046c247e4ee
/external/qemu/vl-android.c
5973c775c853e26f684de58ad28c267281aaffd6 10-May-2011 David 'Digit' Turner <digit@android.com> qemu-timer.c: rename qemu_timer_new_scale()

Get rid of qemu_timer_new() implementation, and update all
callers to use qemu_timer_new_ms() or qemu_timer_new_ns()
instead.

Rename qemu_new_timer_scale() to qemu_new_timer() to follow
upstream conventions.

Change-Id: Id2c04f8597ec5026e02f87b3e2c5507920eb688e
/external/qemu/vl-android.c
317c9d54284844615b33a25834a63248bf1bfa73 10-May-2011 David 'Digit' Turner <digit@android.com> qemu-timer.c: upstream integrate

Change-Id: I6856ded73b4dcd10fe4831697c8518f958aeffbb
/external/qemu/vl-android.c
088edf82b3d34409ed9d9fd09ec1f7e9b933304f 09-May-2011 David 'Digit' Turner <digit@android.com> os-posix.c + os-win32.c and dependencies

+ Generate qemu-options.def instead of qemu-options.h

Change-Id: I043e6b0c1c58e5cc2e96d05465f39b42f9054b5a
/external/qemu/vl-android.c
795bb19daea966401df15bbf23c57b98848eec23 09-May-2011 David 'Digit' Turner <digit@android.com> qemu-common.h: other intergrates

Change-Id: Iaf5221814247d7686ec3d57abeab097b09c6a5dd
/external/qemu/vl-android.c
24d2752ad601b4ab48d72b52f602e129dd4761d7 01-Jun-2011 David 'Digit' Turner <digit@android.com> vl-android.c: Fix PC Bios search order.

This fixes the algorithm used to search the PC Bios files.
Moreover, this makes standalone builds under external/qemu
just work by looking under prebuilt/common/pc-bios

Change-Id: I4619565d57dc5a5b75333f6459f5bfc32b81e918
/external/qemu/vl-android.c
36597756e589622ee6c6628efb47c1b130d5ee85 20-May-2011 David 'Digit' Turner <digit@android.com> x86: kvm: fix KVM build + enable auto-detection.

This patch fixes the build of KVM support in the x86 emulator by
copying official Ubuntu Lucid KVM headers into android/config/linux-*/

This removes the need to rely on the build machine's versions of these
headers, which caused various issues.

Also, by default, the emulator will now probe the system to see if it
can start in KVM mode automatically. See android-kvm.c for details.
You can see the result of the probing with the -verbose option.

IMPORTANT NOTE:
It looks like there is a bug in the KVM code when the emulator
is built as a 32-bit binary, running on a 64-bit kernel, so
we explicitely disable KVM when we detect this case. It's hard
to tell whether this is a bug in QEMU or some versions of the
KVM driver.

As such, KVM only works when building the emulator as a
64-bit program. For now, this is only possible with
"android-configure.sh --try-64", not the Android build system.

+ Add a new QEMU option (-disable-kvm) to explicitely disable KVM
if needed. This is an addition to -enable-kvm which already exists
(and forces usage of KVM).

Change-Id: I6a397cae29ab62b1c56fce95c1ee75a4664d6688
/external/qemu/vl-android.c
cc3b2199549c45cdabfdeb3afdb81b0895f5ceef 21-May-2011 David 'Digit' Turner <digit@android.com> fix audio backend handling

This patch fixes a small bug where the audio backend given with
the -audio <name> option was ignored. The bug was introduced during
a previous integration of upstream audio changes.

The old code always used the same default backend (PulseAudio).

Change-Id: I7bc68df3fd3025f8a8bd1f0fd868872b7eee2017
/external/qemu/vl-android.c
f0cee2e578098010b6957c8cbfc2324df42fb0d9 14-May-2011 David 'Digit' Turner <digit@android.com> Fix the pc-bios search path for build trees.

This patch fixes the routine that looks for the x86 BIOS
file(s) when running from the build tree (i.e. typing
'emulator' just after building the full_x86-eng product).

Turns out that the files are installed under
out/host/<system>/usr/share/pc-bios by our build scripts.

Change-Id: I51ae849d5cdf130558d05f2386c4175dfea1e054
/external/qemu/vl-android.c
8fc3e6effd925b9ebe39268c6ccbf9e8730ef3d4 09-May-2011 David 'Digit' Turner <digit@android.com> Fix SDCard speed issues too.

It looks like we also need to set the 'cache' property to 'unsafe'
when initializing the SDCard block device. Otherwise it will be
mounted as O_DIRECT, making all i/o operations on the SD Card
extremely slow.

Change-Id: Id1a72f926c73dc6981a568f005f19cfc50f724d5
/external/qemu/vl-android.c
9fb360ec4c47d750711c8f1776c180e3802b0aab 04-May-2011 David 'Digit' Turner <digit@google.com> Correct fix for snapshot saving speed

QEMU is a weird animal. The "snapshot" property speeds-up snapshot
saving but also redirect all stores to a temporary file which is
deleted when the emulator exit.

Use a different property to get the desired speed-up. Note that
using "writeback" instead of "unsafe" forces the use of fdatasync()
which will still be horribly slow.

+ Argument checking in avd snapshot commands in the console.
(trying to load a name-less snapshot actually crashes the emulator).

Change-Id: Ie61f110f037bbb3539c7f9892cb03bee8bfec6bd
/external/qemu/vl-android.c
4297b82edb9d528928fb168cb14abd4955f8664b 04-May-2011 David 'Digit' Turner <digit@google.com> Fix snapshot save pathetic speed.

It turns out that the 'snapshot' property must be turned on on
the block device corresponding to the snapshot storage file.

Otherwise, the file is mounted O_DIRECT, which on my speedy machine
limits the operation to a max of about 2.5 MB/s. This explains why
saving snapshots was so pathetic.

With this change, the save throughput is up to 278 MB/s on the same
machine!

Change-Id: I77c792114171a4ecaf3e3f08f64d8b3a30709f23
/external/qemu/vl-android.c
c0ac73377011befa8a3e6444d61a80cd6ada2659 02-May-2011 David 'Digit' Turner <digit@android.com> Document new QEMU pipe implementation.

+ Rename android/pipe-net.c to android/hw-pipe-net.c

Change-Id: Ia2e2466c3bf3ea812f36639420fad7ce2e0cb61d
/external/qemu/vl-android.c
2d238fd9871687b1557f15b8878a6cf3e9634b57 25-Mar-2011 David 'Digit' Turner <digit@android.com> Add 'emulator' launcher program.

This patch renames the current ARM-specific emulator binary to 'emulator-arm'
and introduces a new tiny (less than 20KB) 'emulator' launcher program.

The role of 'emulator' is to launch either 'emulator-arm' or 'emulator-x86'
based on the target AVD or platform build being used.

This program will be replaced in the future by what is currently known
as 'emulator-ui', but is a good placeholder until this work is completed.

+ Move some utility functions from android/avd/info.[hc] to
android/avd/util.[hc] so that 'emulator' can use them directly.

IMPORTANT: For platform builds, the target architecture is detected
automatically by parsing the build.prop file.

For SDK AVDs however, there is no easy way to determine the
target architecture, so the patch adds a new hw.cpu.arch
property which can have value 'arm' or 'x86'

Change-Id: I0084c196695a75c8b9230ba716b3cd2e12610ded
/external/qemu/vl-android.c
d4d688e926097faba7fd3717d1c0d3f296bdb526 26-Apr-2011 David 'Digit' Turner <digit@android.com> New goldfish_pipe virtual device.

This adds a new virtual hardware device named "goldfish_pipe"
used to implement a very fast communication channel between the
guest system and the emulator.

IMPORTANT: This depends on a special kernel driver, see:

https://review.source.android.com/#change,22496

Usage from the guest is simply the following:

fd = open("/dev/qemu_pipe", O_RDWR);
const char* pipename = "pipe:<name>";
ret = write(fd, pipename, strlen(pipename)+1);
if (ret < 0) {
/* could not connect to service named <name> */
}
/* now you can read()/write()/close() as a normal
* file descriptor to exchange data with the service.
*/

In addition, this implements the following pipe services in the
emulator:

tcp:<port>
tcp:<hostname>:<port>
unix:<path>
opengles

The 'tcp:' and 'unix:' services simply redirect to a TCP or Unix
socket on the host with minimal

The 'opengles' service simply connects to tcp:locahost:22468 for now.
We may change this to be more configurable in the future, but that's
the port number used by the current experimental OpenGL ES hardware
emulation host libraries / programs.

Benchmarking with a simple ping-pong program shows that the
guest <-> emulator can achieve a roundtrip bandwidth of 192 MB/s
(on a 2.7 Ghz Xeon PC).

Using the tcp: service to talk to a ping-pong server listening
on localhost reaches 102 MB/s on the same machine, using a Unix
socket reaches 140 MB/s.

By contrast, using standard sockets in the guest reaches only
3.8 MB/s on the same machine (and requires special privileges
from the application anyway).
/external/qemu/vl-android.c
ca9505992288636908169d0389087b3ca5277d07 27-Apr-2011 David 'Digit' Turner <digit@android.com> Fix -qemu -vnc startup.

Starting the emulator with something like "-qemu -vnc :1"
didn't result in a valid boot sequence, due to the way our
"hw-control" service is initialized.

This patch fixes the issue. Note however that since a VNC client
cannot send proper touch events, it can only be used as a viewer
at the moment.

Change-Id: Ib9b60ff7028892368547bff89b84f580344c2edd
/external/qemu/vl-android.c
5b48149747c214e9951fd8ce0926c45d6926fc3d 11-Apr-2011 David 'Digit' Turner <digit@android.com> vl-android.c: Init opengles pipe on startup

Change-Id: I14c03c193166c214ce406a3dc524b8dfa16fa733
/external/qemu/vl-android.c
b64325d15d9e767c652491414c95f4fc148b0211 22-Mar-2011 David 'Digit' Turner <digit@android.com> Set hw.keyboard.lid default value to false for API level >= 12

This patch modifies the emulator to extract the target API level for
the AVD or the current platform release, and use it to set the
default value of hw.keyboard.lid.

This will *not* affect any existing AVD/platform that sets the value
explicitely in its config.ini (for AVDs) or hardware.ini (for platform
builds).

The change is beneficial for platform builds targetting API level >= 12,
because the input framework changed its the window orientation behaviour
depending on the availability of a hardware lid.

In short, this allows platform builds to be correctly oriented, even
if they don't provide a custom hardware.ini.

Fix for bug 4128604

Change-Id: I195135aae6f3c4cc11d2f01e1293f3cd6cad2f58
/external/qemu/vl-android.c
e8ab08c1ee27349cb81cd5e8849a01a85da16775 15-Mar-2011 David 'Digit' Turner <digit@android.com> Fix a crash that happened when the content directory didn't have a cache.img file.

This only happened for fresh newly-created AVDs. Existing ones used for testing
the emulator already had a cache.img and booted properly.

Change-Id: I87901ea5fb1dc6aa7d2bb3dd191de58d972c386f
/external/qemu/vl-android.c
62c7ae56be1ada62e89221352a0fa3e412929ffa 08-Mar-2011 David 'Digit' Turner <digit@android.com> Always prepend a space before kernel parameters.

It has been reported that in certain cases, qemud would think that
the serial device is /dev/ttyS1android.checkjni=1.

Change-Id: I977456ef23fb708b284cfe026da07ecce8d03bf1
/external/qemu/vl-android.c
1321c76d96910c2c807207f3fdfeb560c598ca60 05-Mar-2011 Jun Nakajima <jnakajim@gmail.com> x86: Enable KVM mode for Android x86 emulator (update/rebase)

This patch enables KVM mode on x86 Linux to boost performance of x86 emulaiton
if the hardware-based virtualization feature is present on the host machine.

Change-Id: I4b24474b3ec115a3b9a7bf017801f4f610253b09
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/vl-android.c
02c6385fd50f926d0f0801dfe60480cd90d8df81 24-Feb-2011 Bruce Beare <brucex.j.beare@intel.com> look for the pc-bios files in the SDK tools/lib/pc-bios directory

Change-Id: I6d546f79617032dea0d72d8d38dab3016e6bd4a0
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
/external/qemu/vl-android.c
d952f28e527175cc3df9ebd91e739e34df2194c9 02-Mar-2011 rich cannings <richc@google.com> qemu logging extensions

(1) Clear the logs upon receiving a SIGUSR1 signal
(2) Add logging timestamps for network connections
(3) Extended TCP redirect logs to include local src
ip/port and fixed byte-ordering in log files

Change-Id: I51e7293c8eeb5979a92e67f52f1c6416400d83c6
/external/qemu/vl-android.c
53eb66db4eba72d2e4fc951456be725e14243f25 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move AVD name initialization to the core.

Use a hardware property to send the AVD name to the core.
The -android-avdname core option is still supported though.

Change-Id: I4daac5c9fb65ed5261b5c04c1e1a18daed057a3f
/external/qemu/vl-android.c
062dd6a8b90c7c553a6a7257e9c245276b1dd969 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move some serial ports initialization to the core.

This moves the initialization of the ports used by qemud
and the "kmsg" component to the core.

+ Gets rid of the -old-system option used to suppot pre-1.4
Android system. We don't officially support anything before 1.5
anyway.

Change-Id: Ied7e284d952adfd3419d96c39a7c48761f1b3f5c
/external/qemu/vl-android.c
fd59c330bec77e7b9241e478efb1e1c508480d1d 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move data partition initialization to core.

Change-Id: I3c2b4668593391026da028194503fc87246e44ba
/external/qemu/vl-android.c
40841b2d221273a08abfe20824e7631211ade31d 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move system image initialization to core.

Change-Id: Ic8da3ccaed9bab7dbb44c0bb341b0dba20b90980
/external/qemu/vl-android.c
5f64b873605baa5519211b0d47a53c93df9d4868 28-Feb-2011 David 'Digit' Turner <digit@android.com> Move snapshot storage initialization to the core.

Change-Id: I2c2b782fe4711cc8c323433e7976222b878cf679
/external/qemu/vl-android.c
48a3c66361158678f476fc7c2eca2bef025eae62 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move the SD Card initialization to the core.

Change-Id: I2c8fa2a7df3d79ed4222296a93b787994a8ee11d
/external/qemu/vl-android.c
c480cca8d2007f5df62a7431beda310911b963e6 25-Feb-2011 David 'Digit' Turner <digit@android.com> Move cache partition initialization to core.

Change-Id: I1f887e6f8fc38e43b1fff3f7bab3814b52542762
/external/qemu/vl-android.c
0b0194940523fa3f318c380d0693907bd522241c 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move kernel/ramdisk initialization to the core.

The QEMU -kernel, -initrd and -append options are still supported for
overriding the hardware configuration.

Change-Id: I034d9e25d0a23341086aa052f449db5de50b2c8d
/external/qemu/vl-android.c
5f82411f73a9913588d8cef751db870b4239a6a4 01-Mar-2011 David 'Digit' Turner <digit@android.com> Simplify kernel parameters processing.

This change simplifies the code that deals with kernel parameters
in the core by using a stralloc_t (dynamic strings).

Change-Id: I73cf2d1461a3cb1aa4511d74fd34249f0f8b58a2
/external/qemu/vl-android.c
e5af8a259e619973538f393011b1c26a3e2f4afb 24-Feb-2011 David 'Digit' Turner <digit@android.com> Remove CONFIG_ANDROID_SNAPSHOTS macro.

The feature is no longer optional.

Change-Id: I4558f12e3804e42069e8a3e6bcf0837d350206ed
/external/qemu/vl-android.c
bdb6f2dd35a4c749186e665d55d7b76375d7e71d 23-Feb-2011 David 'Digit' Turner <digit@android.com> Remove android/main-ui.c

The differences between android/main.c and android/main-ui.c are now
minimal, so remove the latter source file by moving the corresponding
code into android/main-common.c

Also add a -snapshot-no-time-update core option to implement the
emulator-ui -no-snapshot-update-time option. We're probably going to
clean this up a little in the future, but this is enough for now.

Change-Id: I868bb4e47c3d106ae7436ee3f5b2c0ff5fb6ea5c
/external/qemu/vl-android.c
7339b55944e97077e4f74c4be34cd956ae44198b 16-Feb-2011 rich cannings <richc@google.com> Add user mode networking restrictions: a firewall

Command line options added and code is supported for:

QEMU_OPTION_drop_udp
QEMU_OPTION_drop_tcp
QEMU_OPTION_allow_tcp
QEMU_OPTION_drop_log
QEMU_OPTION_net_forward
QEMU_OPTION_max_dns_conns
QEMU_OPTION_allow_udp
QEMU_OPTION_dns_log

Also, this change makes the default max DNS connections unlimited.

Change-Id: I887213149956dda155ef514418365bd80d8f1236
/external/qemu/vl-android.c
5377c5bfde6ba62490417bb0a7d7c1be1151692e 10-Feb-2011 David 'Digit' Turner <digit@android.com> Correct auto-detection of default VM heap size.

This patch removes the need for the -m <memory> core option.
Instead, the RAM size is taken by default from qemu-hardware.ini.

Also, the default value of vm.heapSize is no longer 16MB, it is
now adjusted based on the RAM size (16/32/48 values)

+ Get rid of core -lcd-density option (use .ini file instead)

Change-Id: I93919926b61a132c7943a1bb2c41f7a3ab7f2d2f
/external/qemu/vl-android.c
2507cab8a78fb609461a2b9cc4708bab60fc53a4 10-Feb-2011 David 'Digit' Turner <digit@android.com> Get rid of -android-gui core option.

Instead, pass all LCD configuration in qemu-hardware.ini.

+ Make the latter file mandatory to launch a core. You can easily
generate one by launching "emulator <options>" though.

Change-Id: I81a1938217562517e4c2bbb828aef934033c29a5
/external/qemu/vl-android.c
334ab475d2f27dbf6fbf836c2d4fb86dbb02a15c 03-Feb-2011 Jun Nakajima <jnakajim@gmail.com> x86: Add x86 support. Rebase the change (20906/1) due to a minor conflict.

Change-Id: Ic73cca0fc6c6e5cf74f63daa6080d00aa7c392bb
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/vl-android.c
5758404ffd1be160efa303ff27eef645fc4e2c2d 21-Jan-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Remove unnecessary calls in UI <-> Core protocols.

Core port related calls are no longer needed, since UI is aware of
core's base port on attachment to the core

Change-Id: Ic211fc9b02cb652009360f80917e90c44d941878
/external/qemu/vl-android.c
94702b0dc4a9729b234c6f0265a9e43c72ef79ad 20-Jan-2011 David 'Digit' Turner <digit@android.com> Fix ui/core display depth mismatch.

This patch fixes a problem where the core's framebuffer was
incorrectly initialized to a pitch of width*4 by default
(instead of width*2 when using a 16-bit framebuffer).

The reason for this was complex, but essentially, when the
machine initialization was moved before the display one in
vl-android.c, this changed the way the DisplayState was
initialized.

Also get rid of the useless and confusing "display_state"
global in vl-android.c (not the same than "display_state" in
console.c)

Change-Id: If8e2b8baf7ccaeedcb66da0174cc529521d67a60
/external/qemu/vl-android.c
90c6235ce7bdc6f7afbcfe56ea6f2c3d2b128447 13-Jan-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Refining main-ui.c to better separate UI and core related initialization

The main reason for this is to clarify initialization for UI that starts core,
and UI that attaches to an existing core. In this CL I did:
- Removed -initdata option that seems obsolete (doesn't affect anything in the code)
- Passed through -timezone option that doesn't affect anything in the UI, and is needed
only in the core.
- Removed dependency on AVD info from the core (core needed only virtual device name)

Change-Id: Ie631249848a1b5b8d837c0c7b201a40ee7e4a367
/external/qemu/vl-android.c
cf755ea6f4b850a6afd12ef8308da8def7ba8941 12-Jan-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Hook up framebuffer changes with UI window

Change-Id: Ib2dff72c808614cd6ded096d62717afc1c41e667
/external/qemu/vl-android.c
cb42a1b1461e02efb034582ac5d8f71534723b92 23-Dec-2010 David 'Digit' Turner <digit@android.com> upstream: integrate block changes

This large patch upgrades the block support code to the upstream
version available in ba5e7f82169f32ab8163c707d97c799ca09f8924
dated 2010-08-08

Change-Id: I8b24df0c287e72f6620650a4d6a62e1bb315453e
/external/qemu/vl-android.c
707c8a8975842105dd04d61a416ee175d033b94d 22-Dec-2010 David 'Digit' Turner <digit@android.com> upstream: Move bottom-half handlers to async.c

Change-Id: Ibd4321edb2abe349d32483a60fdb94a282f22240
/external/qemu/vl-android.c
ca29fbbb188a1aab9b69776d5dc6bc3e7f812a0a 02-Jan-2011 David 'Digit' Turner <digit@android.com> Add -audio-test-out option to the core.

This option can be used to quickly check audio output (without
having to boot a full AVD and launch a sound-playing application).

Usage:
emulator <other-options> -qemu -audio-test-out
qemu-android <other-options> -audio-test-out

This simply generates an ugly saw signal, but that's enough for us.

Change-Id: I060300b4000b9705d181c6262de8d4d13c749e69
/external/qemu/vl-android.c
1306e385222558accba9a01fd93858f06dccf77e 02-Jan-2011 David 'Digit' Turner <digit@android.com> Remove obsolete -audio-in and -audio-out options.

Use -audio <backend> to select the audio driver.

Change-Id: I71c837e4c78241711be5f38ef9b03294a69145bd
/external/qemu/vl-android.c
e95660aadc669784406d5f5a867988b8ecc2ed0d 20-Dec-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Resubmit framebuffer service implementation

Change-Id: I184e27a1e8d88835bc9f0502eccfa3f64a7aaf9e
/external/qemu/vl-android.c
72d83df9865cf8f5393a41fc3f6e283ab6aaa81b 14-Dec-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Implement core display deriving it from android display

Core display is a framebuffer client that receives framebuffer updates and dispatches
them to the UI attached to the core.

Change-Id: Iff1e0609cbe66240031e3670934a6796a9ae3b15
/external/qemu/vl-android.c
24204cc964cf7d56b1a20c12ece08eecab1093fa 25-Nov-2010 Tim Baverstock <weasel@google.com> Augment the auto-loadvm behaviour with corresponding auto-savevm-on-exit behaviour.

Autosave fires when loadvm would have been tried - whether it succeeded or not - in
order to bootstrap from an empty snapshot file.

- New autosave behaviour inhibited with -no_snapshot_save flag.
- Underlying behaviour implemented with a new qemu option -savevm_on_exit

Change-Id: If64d89f004565ecbb431bc7e96ecc37e27876d67
/external/qemu/vl-android.c
dc46820125f5eaa0191193f5b71afba5f4915607 27-Oct-2010 David 'Digit' Turner <digit@android.com> Allow OS X emulator to open host /dev/ devices.

Only Win32 does not allow this, so simplify the tests in the source code
+ Remove compiler warning

Change-Id: I100dd59e4477edcd24dd94becfa3e3b83a2b92ab
/external/qemu/vl-android.c
6b512811e01d7c81348bfa9c29c21f788ccc0a8e 15-Oct-2010 David 'Digit' Turner <digit@android.com> Fix windows event loop handling.

This change fixes the windows emulator binary which got stuck
due to changes in the timer implementation that occured during
the last upstream integration.

Change-Id: I090ce4ac9c09b3b95e0df95513446922120b2d9a
/external/qemu/vl-android.c
871da2aa80687142bec00ef7c1112253c76c32bb 20-Sep-2010 Ot ten Thije <ottenthije@google.com> Added state snapshot support for QemuD.

With this patch, both modem and sensor functionality are correctly
restored when a state snapshot is loaded. This was not the case
previously because communication with either of these services is
done using the qemud daemon, which did not support snapshots.

The boot-properties and charpipe services have no specific save/load
functionality yet, since the framework itself should be reviewed
first. Adding support for bootproperties should not be difficult
though, and charpipe may not need it.

For a description of the high-level process for saving and loading,
consult section IV "State snapshots" in docs/ANDROID-QEMUD.TXT.

Change-Id: I5b06d88b911ca096e78060163174904c48a01c66
/external/qemu/vl-android.c
7746af04f1c7a44253ce49cf7cf1914757faaafe 07-Oct-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Make core initialization replying to the UI at the end of initialization.

Also, this CL contains a minor fix to formatting boot options passed to the kernel

Change-Id: I267172d82094a0cbbbced2cee7a2990bb7fa3793
/external/qemu/vl-android.c
4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 22-Sep-2010 David 'Digit' Turner <digit@android.com> Remove compiler warnings when building the emulator.

This forces -Wall during the build. Note that this patch doesn't
remove all warnings, but most of the remaining ones are from upstream anyway.

Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
/external/qemu/vl-android.c
c34e8dccc303243ff996aadcf3d7e407bb74e536 13-Sep-2010 David 'Digit' Turner <digit@android.com> Fix build and remove compiler warnings in vl-android.c

Change-Id: Ic8b1b067c8716a12a0d3b24c422865920b95c82a
/external/qemu/vl-android.c
f52506f4827dfa6da47730c4756a984b05db6dda 10-Sep-2010 David Turner <digit@android.com> upstream: console changes.
/external/qemu/vl-android.c
025c32ffcd9f682cd761a836fe8798738d1648f2 10-Sep-2010 David Turner <digit@android.com> upstream: console changes.
/external/qemu/vl-android.c
4143d8f4c302878923bde0cb2420f4ca27245bcd 10-Sep-2010 David Turner <digit@android.com> upstream: rename IOCanRWHandler into IOCanReadHandler
/external/qemu/vl-android.c
d06599430ac907d1a89bbfda4bf3621f909aac8e 10-Sep-2010 David Turner <digit@android.com> upstream: qemu-common.h updates.
/external/qemu/vl-android.c
6a9ef1773bf874dea493ff3861782a1e577b67dd 09-Sep-2010 David Turner <digit@android.com> upstream: move timer management code to qemu-timer.c
/external/qemu/vl-android.c
b25bf2a7477595aa54181874921086d4c0071c03 08-Sep-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Passed boot properties from main to core as -boot-property parameters.

Change-Id: I56955fb13a073b15ee2a41fdfbd6845bfe65edc5
/external/qemu/vl-android.c
a7f114bcbd85d71f59f716df5a38340bdfe30637 06-Sep-2010 Ot ten Thije <ottenthije@google.com> Fix suspending and resuming timers.

This brings the code for saving and restoring the vm clock up to
date with the current codebase. It also includes a workaround for an
issue that occurred when the state of a goldfish timer was restored.
For unexplained reasons, the compiler generated code to copy the
least significant 32 bits only when reading a 64 bit number,
dropping the remaining 32 bits.

In order to facilitate debugging, the variables in the goldfish
timer code have been suffixed with their units ("ns" for nanoseconds
or "tks" for ticks).
/external/qemu/vl-android.c
318f17a0050e729bce8545463b657c1d62835b5e 27-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Fixed dependency ob core data in android/help.c

Also moved along -tcpdump option

Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
/external/qemu/vl-android.c
e13168648d5947955e0fd4fbf396f891ae53921f 26-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Moved nand and netspeed initialization from main to core.

Change-Id: Ide3914fa52f62f618d39ac20f02bce8185a6805a
/external/qemu/vl-android.c
13f3b6c53817255217f40db289abace42c3c31a6 25-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Cleaned up build script from rebuilding locally generated sources

Also passed along -show-kernel option to the emulator core

Change-Id: Ic606a7a9cdac677cbd5ce9ca1a9f1a2b16da4dfa
/external/qemu/vl-android.c
b2438402d16ee4a0bb4b077d0ad0ef1d82b2a08c 24-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Moved radio, gps and audio setup entirely into the core

Change-Id: I9d76bb3cd892b7b2b0713a27ff5477195c93ff36
/external/qemu/vl-android.c
7fbf49776a98847a5f95325646f7eb5ff787423f 12-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Cleanup stuff for the UI build

1. Move DNS server registration entirely to the core.
2. Move -memcheck option initialization entirely to the core.
3. Move qemu_help routine (used by both, Core and UI) to common qemu-help.c file.

Change-Id: I5e47e94bdc375f0e037ccc6bd88daeb5fa06d1cf
/external/qemu/vl-android.c
b5365f32d7b1dcc6c3e9be7584ce8d4f68b3e7e1 09-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Move memchecker initialization from main.c to vl-android.c (core)

Also move qemu-malloc.c to common CORE and UI sources

Change-Id: Ifd62ae247cc03700d85b5fc35072d73ac37cc570
/external/qemu/vl-android.c
074d1f955a15c19214cee92c627c8c4697e98cd3 06-Aug-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Added -android-hw option

Change-Id: I8dac387cd43c5eff7e9b6adf0d718261d0ab8d81
/external/qemu/vl-android.c
dd50f7d7d919dfa2a2cebd383635ba74c10e3777 30-Jul-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Added -android-gui command line option to qemu-android

Change-Id: I9fd9170f2b2e3ad7d80071888f7da2ead54c21cf
/external/qemu/vl-android.c
43552dc4fa64aad0c9fdb8f4c92ae7ac79406596 22-Jul-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Remove UI dependency from goldfish_event_device.c

Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
/external/qemu/vl-android.c
eb8382507c6b802f378cf940fae4775633c1d84e 15-Jul-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Move net-related routines from main.c to net-android.c

Change-Id: If102220e6db913f4a51bb1809ce60f4bf24bdd6a
/external/qemu/vl-android.c
7258f6b1539906849d02fa9f5e75360b0d01f48c 14-Jul-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Finished shuffling files.

Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9
/external/qemu/vl-android.c
d81e6d1ce722d7e561d495bbd4b137e728e25b83 16-Jun-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Pass core-specific options to emulator core as cmd-line options.

Change-Id: I7ed897ca92c1344505f982897e2f59cc68c42d89
/external/qemu/vl-android.c
34f2974ce7ec7c71beb47b5daf9089d5c8c40c79 26-May-2010 David 'Digit' Turner <digit@android.com> Add small user-event abstraction interface.

Preparation for future UI frontend/backend separation.

This is done to ensure that the code under android/skin/ does not depend
on any QEMU-specific header. We achieve this by adding a new abstract header
"user-events.h" and one QEMU-specific implementations for the functions
defined here.

This also modifies console.h and vl-android.c to make them closer to
upstream (by removing Android-specific changes).

+ fix Makefile.android to always build SDL from sources in standalone mode.

Change-Id: I0d152741e7bb2c9cd283f5c35bd054385c7c1eb3
/external/qemu/vl-android.c
a7fb77d6eca56e61e94f62e7deb4120b60b1e919 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: integrate timer/clock management changes.

Change-Id: I24acbdebe58d207352548f54dda1abf5be01e7d4
/external/qemu/vl-android.c
2910f183ddd5286911bc1e3499ea93cb57de8b75 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: Misc integration - includes qobject.h and related sources

Change-Id: Idfa93ab5c67c95a3bc1869eeaf3a84a75fe24cd6
/external/qemu/vl-android.c
3266b5118e1d9ac13ea87bc24f37b50d22a2b81f 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: Move ioport code to ioport.[hc]

Change-Id: I41aa30fff127338665a6a32fa66dcd43dd3bfe8b
/external/qemu/vl-android.c
a5d412078b8e7478d81df03710eacc7a21096ba2 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: Replace sys-queue.h with qemu-queue.h

Change-Id: I5c51f54a7fe2ea702420429bbf0c789ed6d8c534
/external/qemu/vl-android.c
20894ae3fa98f82da925fbeb72e616eef509758a 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNED

Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
/external/qemu/vl-android.c
2c538c86c15d597cc875dc926e4e39285c5625df 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSD

Also fix OS X build, which failed with a link error.
Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
/external/qemu/vl-android.c
92568958dd42bf35667cc6451b5edd7f7d1f73a1 16-Apr-2010 David 'Digit' Turner <digit@google.com> Revert previous patch to fix SD Card emulation

The previous patch modifies SD Card hardware emulation in a way that is
not backwards compatible with previous SDK platform releases. This has
the unfortunate effect of making SD Card emulation not work properly
when running existing AVDs.

Reverting the patch until we get a better one.

Change-Id: I82dac87709d88aa3bd292bf2ed0008ae74d95853
/external/qemu/vl-android.c
7ab6d35b98bc279a5fcd36965433a51a3c9aecd9 07-Dec-2009 San Mehat <san@google.com> qemu: android: Add support for hot-adding disks as well as swapping image files

Signed-off-by: San Mehat <san@google.com>
/external/qemu/vl-android.c
a577fcadc0b365ee629aec313f57a65d54fe5d89 16-Oct-2009 David 'Digit' Turner <digit@google.com> Fix the -trace emulator option.

A critical test in the execution loop was missed in the latest huge integration.
Also optimize slightly the basic-block start recording helper interface.
/external/qemu/vl-android.c
5d8f37ad78fc66901af50c762029a501561f3b23 14-Sep-2009 David 'Digit' Turner <digit@google.com> Merge upstream QEMU 10.0.50 into the Android source tree.

This change integrates many changes from the upstream QEMU sources.
Its main purpose is to enable correct ARMv6 and ARMv7 support to the
Android emulator. Due to the nature of the upstream code base, this
unfortunately also required changes to many other parts of the source.

Note that to ensure easier integrations in the future, some source files
and directories that have heavy Android-specific customization have been
renamed with an -android suffix. The original files are still there for
easier integration tracking, but *never* compiled. For example:

net.c net-android.c
qemu-char.c qemu-char-android.c
slirp/ slirp-android/
etc...

Tested on linux-x86, darwin-x86 and windows host machines.
/external/qemu/vl-android.c