History log of /external/qemu/android/config/linux-x86/config-host.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48fbbc097293db01bdfb3be6511a8a40451b4db0 07-Mar-2014 David 'Digit' Turner <digit@google.com> Cleanup HOST_LONG_BITS, HOST_I386 and HOST_X86_64

HOST_LONG_BITS is now computed automatically in
include/qemu-common.h so remove all the configuration/probing
that was required before this patch to get the correct value.

Also get rid of HOST_I386 and HOST_X86_64 since they are not
needed anymore.

Change-Id: I61823a896033e38938346242b7aea78d3e832826
/external/qemu/android/config/linux-x86/config-host.h
6aff02b9b67f734329c58db3c2da6304aeb770bf 18-Feb-2014 David 'Digit' Turner <digit@google.com> opengl: Simplify emulator build.

This patch simplifies the emulator build configuration to support
OpenGLES emulation. More precisely:

- Remove the include of <libOpenGLRender/render_api.h> and provide
the corresponding declarations in android/opengles.c in a way
that make them easy to call indirectly after using dlopen()/dlsym()
to resolve the symbols.

This makes the emulator much easier to build as a standalone
program (it now only depends on external/gtest, and that's only
for unit tests).

- Fix android-configure.sh to properly detect the location of
host libraries (it was broken for Windows). Also do not error
if the libraries cannot be found, since the emulator will simply
not enable GPU emulation if they are not available at runtime.

- Remove CONFIG_ANDROID_OPENGLES, QEMU_OPENGLES_INCLUDE and
QEMU_OPENGLES_LIBS from the build, since they are not needed
anymore.

Change-Id: Ifd300400df5833091e1f06e56d0507de2b973390
/external/qemu/android/config/linux-x86/config-host.h
494b129f77a2254e235244c605fe8a21f7188edd 05-Feb-2014 David 'Digit' Turner <digit@android.com> util/compatfd.c: upstream implementation.

Change-Id: I1b4eceddfe65d1112e007f9a440eeb2349e7d396
/external/qemu/android/config/linux-x86/config-host.h
171dd0bf53f93e64b71d3edc958e15f40c96748d 04-Feb-2014 David 'Digit' Turner <digit@android.com> Remove CONFIG_TRACE support.

It was limited to ARMv5, and didn't work correctly. Moreover, it
made integrating upstream changes difficult, so remove it for now.

Change-Id: I7da7a1e00b241d452c6dff5a318ccfedc5d7a8a4
/external/qemu/android/config/linux-x86/config-host.h
183e927350a14945e13ab217e16ab5dce20349f3 27-Apr-2012 Jesse Hall <jessehall@google.com> Fix standalone emulator build.

- Allow building with OpenGL ES acceleration disabled, avoiding a
dependency on stuff outside the QEMU project.
- Allow the standalone configure.sh to provide the include/lib path
for the OpenGL ES libraries.
- Update the default OpenGL ES include path for standalone builds.

Change-Id: I03f4627af4c271783b65a116ceb5934385c68cdc
/external/qemu/android/config/linux-x86/config-host.h
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/android/config/linux-x86/config-host.h
280afa072a7b829e581d884c2b3276530a6014b7 11-May-2011 David 'Digit' Turner <digit@android.com> ramblocks: integrate upstream implementation (sophisticated)

Change-Id: I49e96e2d5ae571849b0b6fef0a30b41ecdee8d23
/external/qemu/android/config/linux-x86/config-host.h
45c3be00d4c1f85ba8bbf34827c024fbc636725f 09-May-2011 David 'Digit' Turner <digit@android.com> integrate: qemu-common.h changes

Change-Id: I4620b4560465ed105202332b59f91b708d91a525
/external/qemu/android/config/linux-x86/config-host.h
bb0140b925cb2adce03ebc0885067ea3bfd19a20 28-May-2011 Jun Nakajima <jun.nakajima@intel.com> x86: Workaorund for the KVM GS_BASE MSR save/restore issue.

In some versions of the kvm module in Ubuntu, the host's GS_BASE MSR is not save/restored correctly
when running guests on 64-bit hosts if the qemu/emulator is 32-bit.
This patch implements a workaround in the emulator code.

Change-Id: If3ebe3cb49f377c5d0547c75f6ac3a3ceacdc375
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/android/config/linux-x86/config-host.h
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/android/config/linux-x86/config-host.h
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/android/config/linux-x86/config-host.h
f290f4e361473fb696952f4b0c42865032d6558d 13-Sep-2010 David 'Digit' Turner <digit@android.com> update linux-x86 and windows config-host.h

+ remove obsolete 'Linux' config directory.

Change-Id: Ib0cc7e2ab6b5b90a2cfe43bd0afced692b29d6dc
/external/qemu/android/config/linux-x86/config-host.h
b8fec3e556b0d1b2a66c76d6ec0a9b242baa1068 09-Sep-2010 David Turner <digit@android.com> upstream: bswap.h

+ add a <machine/bswap.h> probe to android-configure.sh
/external/qemu/android/config/linux-x86/config-host.h
80dd1261df980abf963b7f4a73f43c1102848706 09-Sep-2010 David Turner <digit@android.com> Add <fnmatch.h> check to android-configure.h
/external/qemu/android/config/linux-x86/config-host.h
e92bc56ef89ab8b51c4c89d4d9779b64e9491b9b 07-Sep-2010 David 'Digit' Turner <digit@android.com> Add new "qemu monitor" command to the console.

This allows you to access the QEMU virtual machine monitor directly
from the console (instead of playing with the command-line to do it).

The implementation of the 'quit' command has been modified to simply
close the connection, instead of stopping the emulator program.

This patch introduces changes that allow a console session to be
detached and redirected at runtime to other internal services of
the emulator program. This will be useful in the future to implement
other features.

+ doc typo
+ add proper definitions for CONFIG_ANDROID on config-host.h
+ remove obsolete sysdeps.h dependency in android/console.c

Change-Id: If16cfe41c12a26eb8f56e3a9c24452eafa5efab4
/external/qemu/android/config/linux-x86/config-host.h
fd3b1a0e32964436a5259e073857e0c4e2110122 11-May-2010 David 'Digit' Turner <digit@android.com> Upstream: add qemu_fdatasync()

Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4
/external/qemu/android/config/linux-x86/config-host.h
3d66dc7c08acb3802bf803abca68ac5fb36582b4 28-Jan-2010 David 'Digit' Turner <digit@google.com> Upstream: HAVE_IOVEC => CONFIG_IOVEC

Change-Id: I18025d9c154a02af5d6298c7d7f72fc9f2c1c5d7
/external/qemu/android/config/linux-x86/config-host.h
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/android/config/linux-x86/config-host.h
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/config/linux-x86/config-host.h
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/config/linux-x86/config-host.h
55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/qemu/android/config/linux-x86/config-host.h