History log of /external/qemu/android/help.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
496168ed6e29479bcc2c5cac2ade6f045013a59c 12-Jul-2014 David 'Digit' Turner <digit@google.com> Remove obsolete android/protocol/ directory.

This feature was never really completed, and impedes refactoring.
The corresponding sources were used to try to implement the separation
of UI and emulation engine into two separate processes, but never
truly worked. The lack of DSL to generate protocol stubs/proxies
was also very painful.

The feature could be revived in the future with a very different
implementation, if desirable.

Change-Id: I516d6627ee5d649bbcbf140b6274f1ff1b57fdd3
/external/qemu/android/help.c
d174434fbf6fbfce54f7eabaa54b8296f55527b8 11-Jul-2014 David 'Digit' Turner <digit@google.com> android-constants.c: Move constants to single file.

This patch refactors the sources slightly to reduce dependency
drag between various functions and constant definitions. This
is general cleanup work for future patches.

Change-Id: I5fc0f53f5c933bc89ddf1a43d67a309d03a03c2d
/external/qemu/android/help.c
0e5ff1bd3073e3847ac8400ba46814878beb8605 04-Jul-2014 David 'Digit' Turner <digit@google.com> memcheck: Remove feature entirely

This patch removes the memcheck feature from the Android emulator
code base. This is for several reasons:

- Supporting the feature impacts many QEMU-specific emulation files
in subtle ways, that make it difficult to refactor this code to
integrate upstream changes.

- The feature only works for ARM (32-bit), has no unit tests, and
generates massive amounts of false positive messages coming
from the platform.

- Barely anyone uses it.

This feature might make a comeback in the future, but this will be
under a different life-form that will have adapted to the new state
of the code.

+ As a bonus, fix the build!

Change-Id: Idd19a3bc7923379cb1e82850f14499549b6a991b
/external/qemu/android/help.c
27ff62a645346c58826ce3e7d08727832c1a9e58 05-May-2014 David 'Digit' Turner <digit@google.com> Merge "Disable 64-bit Darwin platform build." into idea133
Auto-merge: 5e25267

* commit '5e2526706be97ceee436e6f0b7e6c1c35619b851':
Disable 64-bit Darwin platform build.
Add '-accel <mode>' and 'no-accel' options.
Add misc android/base/ helper classes.
Windows: Fix libSDLmain compilation
045bdbe2e68c305f5f819744ccbe75c7478e4e8b 28-Apr-2014 David 'Digit' Turner <digit@google.com> Add '-accel <mode>' and 'no-accel' options.

This patch adds two new options to better control CPU emulation
acceleration (i.e. KVM and HAX). More specifically:

'-no-accel' can be used to disable acceleration if available.
'-accel off' does the same.
'-accel on' forces to run with acceleration, or refuses to start
the emulator.
'-accel auto' probes the system for a working accelerator and uses
it when possible (i.e. when emulating x86 or x86_64 images only).

Also print some information with -verbose or -debug-init.

Note: This adds QEMU-independent probing code for KVM and HAX
under android/emulation/ (C++), as well as some glue to
use it from C under android/cpu_accelerator.[hc].

Note: HAX is no longer enabled by default when reaching the QEMU
main function.

Change-Id: Ic91db7a3b213d69296c50fec35cd29a32a8e5779
/external/qemu/android/help.c
5bb450ee9cc5da0c6582e63f41c504c7861e2788 14-Mar-2014 David 'Digit' Turner <digit@google.com> Rename CONFIG_MEMCHECK to CONFIG_ANDROID_MEMCHECK

Change-Id: I9b0edcc1e243111f86f18c22eecbebb23219c297
/external/qemu/android/help.c
185231afe57ba2ed56bb7c77a39ce8bbd64d38d1 07-Oct-2013 Nick Kralevich <nnk@google.com> emulator: Add option to control SELinux enforcement.

This change adds the following command line
options to the emulator:

-selinux disabled
-selinux permissive

This configures SELinux in either permissive or disabled modes.

"disabled" completely disables userspace support for SELinux. No
policy is ever loaded, nor is the SELinux filesystem /sys/fs/selinux
ever mounted.

"permissive" loads the SELinux policy, but puts SELinux into
permissive mode. SELinux policy violations are logged, but not rejected.

Change-Id: I97974deb5b39d5caab36032e8b282281c1e478ea
/external/qemu/android/help.c
2abcdc47688227d5683938938b0f4eecd21b3bc4 05-Oct-2012 Siva Velusamy <vsiva@google.com> Support dynamic skin layout

This CL adds support for a skin whose layout section is
generated at runtime based on the hardware configuration.

Change-Id: I5f81f665b49ce0f3ec5795d922a08b30c1f34b98
/external/qemu/android/help.c
6f50aa39e741a1d1f3081665d0b7f8d56b7b793c 26-Apr-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Add an option to set custom size for cache partition

Change-Id: I1be43697ee04f46c5839c4d23e461d54eefc450f
/external/qemu/android/help.c
7e959f0ba6515b7998d00eb1b79d613b2550eb3c 19-Apr-2012 Jesse Hall <jessehall@google.com> Reword -help-gpu text for clarity and accuracy

Change-Id: If950c52919039e85874fefe3415e59aa8ec02c96
/external/qemu/android/help.c
ddd4ef7f7c8d07e95dc88ca897634f537666d5f3 21-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> New option '-force-32bit' to always use 32-bit emulator on 64-bit platforms

Useful for both QA and trouble-shooting

Change-Id: I09eac8b94e29e8a201188bf17d3511c15cfee4b4
/external/qemu/android/help.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/android/help.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/android/help.c
8dd31e8e10fc3ca10192368acf19d2345eeddde7 16-Feb-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Multi-touch emulation support

Change-Id: I311dc55fe10f41637775baa330a7c732ff317f51
/external/qemu/android/help.c
045b33e25f3c990054ec0960f1f3f2d99eb157ba 19-Jan-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed typo in emulator -help-build-images

1. "<build-root>/prebuilt/android-arm/kernel/" -> "<build-root>/prebuilts/qemu-kernel/"
2. "<build-root>/sdk/emulator/skins/" -> "<build-root>/development/tools/emulator/skins/"

Change-Id: I46cf9f805506753271bf4b88cebd47faa3775f45
/external/qemu/android/help.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/android/help.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/android/help.c
9da935dd0c616cfd9072d11080a622320497dc9e 12-Sep-2011 David Turner <digit@android.com> Add -gpu <mode> option to force GPU emulation

By default, GPU emulation is still disabled. You can
still try to force it with '-gpu on' for experimentation
purpose (alternatively, you can define hw.gpu.enabled to
'true' in your AVD config.ini)

Change-Id: I87efdf45337a80aeadd94b3922312b3f564c1608
/external/qemu/android/help.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/android/help.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/android/help.c
fc8ed80ba1362d2ce500003625e1c9c39f765661 10-Feb-2011 Xavier Ducrohet <xav@android.com> Revert "Build arm and x86 binaries at the same time."

This fails to build on MacOS X

This reverts commit a39b10bd2574825a815d6ad854499dd127cfa9cb.
/external/qemu/android/help.c
a39b10bd2574825a815d6ad854499dd127cfa9cb 07-Feb-2011 David 'Digit' Turner <digit@android.com> Build arm and x86 binaries at the same time.

Change-Id: I105c5a097c988cb964b47b40b71c7a08af0d9210
/external/qemu/android/help.c
777eb68eb60cac18f4b62e2e1b14a906875cbe7a 26-Jan-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Refactored ui-core-control and core-ui-control protocols

Also cleaned the code up from obsolete ui-core-protocol.* and
core-ui-protocol.*

Change-Id: I194bec669d25b68a10c32b2be50bc9da50c52ebb
/external/qemu/android/help.c
6b985d708d64008eee69fe0c3f03c6e3c61e7f73 21-Jan-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implement UI control service and client

Change-Id: Iecc1b5bb9ddcdaf9f22c500a5195718db3f25354
/external/qemu/android/help.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/android/help.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/android/help.c
622b8f4c760b8c4479d28430f978bad8bb9ea32c 07-Dec-2010 Tim Baverstock <weasel@google.com> Send unsolicited time response to first signal strength query after loadvm

Change-Id: I9c6260493d42564ee3aa34799313368bb2de7d4d
/external/qemu/android/help.c
d87b080495e71ada650b165a1f06616b433e6073 06-Dec-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Submit merged

Squashed commit of the following:

commit aeefab810c6331e2f96e81f20e4408b39dd3a2ca
Author: Vladimir Chtchetkine <vchtchetkine@google.com>
Date: Thu Dec 2 07:40:34 2010 -0800

Implement -attach-core UI option

Change-Id: I4168e2d707cab1b4873ee16d86d5126c1a316abf

Change-Id: I2da1ef5d53641f3c60d83d8d5ddf3aff34b0c6c7
/external/qemu/android/help.c
53d8a5c0c8fc087d16316a4399f5a773339c4956 02-Dec-2010 Tim Baverstock <weasel@google.com> Add -no-snapshot-load option to permit reboot.

This is a workaround for the emulator not being able to detect the guest's
power-down situation, and simply lingering like a zombie: on exit it's saved
as a zombie, and is restored as a zombie which isn't useful. Denying autoload
forces a reboot.

Change-Id: I48f32600f5ce18cd5c71aa01d1b71b382102f227
/external/qemu/android/help.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/android/help.c
9a33e8554225c82cd900208f88e8965bb085ab87 09-Nov-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Implement -list-cores UI option

Also fixed a bug in iolooper-select.c (io_looper_del_write was buggy)
Also switched iolooper-select.c to use malloc/free instead of qemu_xxx

Change-Id: Ief47608f30a863d624af6363620e93e903cbdadc
/external/qemu/android/help.c
ae835acc2d1a8b4aaeb599add9cfc02ea5789eaf 18-Oct-2010 Ot ten Thije <ottenthije@google.com> Add command line flag to show list of snapshots.

This patch introduces the flag '-snapshot-list', which causes the
emulator to output a table of snapshots in the currently mounted
snapshot storage file.

The snapshot file is accessed with a very simple driver for the Qcow2
file system, independent of Qemu's block driver framework. This way,
the flag is available in the emulator-ui builds as well. Using Qemu's
framework would have resulted in adding a lot of Qemu dependencies to
the UI build, which we are explicitly trying to avoid.

Change-Id: I059b9ac53e2f8e051757a5c637761eccf8ea17cb
/external/qemu/android/help.c
353b3b1135563e2bcaf7797acfa35a2fe2d3a818 05-Oct-2010 Ot ten Thije <ottenthije@google.com> Load state snapshot rather than booting to start emulator.

This patch adds support for an optional file "snapshots.img" in the
data directory of an AVD. This file should be an image formatted with
the qcow2 file system and will be mounted on -hdb when the emulator
starts up. If present, the emulator will attempt to load the snapshot
named "default-boot" from this image, rather than going through the
full boot procedure.

To control the behaviour of this functionality, this patch introduces
the following new command line options for the emulator:

-snapstorage <file>: override the default location of the
snapshot storage file.
-no-snapstorage: do not load the snapshots file, even if an explicit
path is given.
-snapshot <name>: instead of loading "default-boot", load the state
snapshot with the given name.
-no-snapshot: do not load a snapshot, but force a full boot
sequence, even if a snapshots file is mounted. Useful for
creating snapshots.

Note that this functionality is experimental and will be enabled
only if the constant CONFIG_ANDROID_SNAPSHOTS in
android/config/config.h is set to "1" before building. It is turned
off by default.

Change-Id: Iee2e9096a27f3414bacfc271f90ef93a98730c82
/external/qemu/android/help.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/android/help.c
45d921a6b0f4626805a3a4870834874be051f6b0 08-Jul-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Removed boot-properties.h dependency from help.c

File help.c belongs to the UI, while boot-properties belong to the Core

Change-Id: I526bc187740c58f89375025ca21927f5224acf19
/external/qemu/android/help.c
40beab42ecdc4e2a79714b54c401feb0fb33b6d0 15-May-2010 Dries Harnie <botje.linux@gmail.com> Enable interconnection of emulators

This patch adds a -shared-net-id option to the emulator which
joins the emulator in a shared network.
If the option is given the emulator is started with an additional
network interface bound to a multicast socket. This multicast socket
emulates a network hub, interconnecting emulators.
If the -shared-net-id option is not given, nothing changes.

Change-Id: I0ea70a073cdbd34f804161300240fafca34080d0
/external/qemu/android/help.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/android/help.c
5389aa19033153c09556d1362a8b8a56abccb8f5 16-Feb-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Merge memory checking from sandbox

Change-id: Ibce845d0
/external/qemu/android/help.c
68a8f7b5ed6ee2bbbc7b67070b9c401c2276426f 05-Dec-2009 San Mehat <san@google.com> qemu: android: Add support for multiple SD cards

Add commandline support for an additional SD card, and plumb support to
the MMC emulation layer. This patch also reworks the way the hw emulation
layer registers devices. Previously, the mmc virtual hardware was only
created if the sdcard image existed. Now, two virtual MMC controllers are
*always* created as on real hardware. When a request is made to one
of our controllers which has no image file bound to it, a new interrupt
status indicating a command timeout is sent to the guest driver, as
is standard with MMC controllers. This patch also sets the stage for
supporting hot-add / hot-remove.

Signed-off-by: San Mehat <san@google.com>

qemu: android: Integrate card detect into the virtual mmc hardware and
wire it up to the STATE_CHANGE irq status

Signed-off-by: San Mehat <san@google.com>

fixups from review - mmc now works with legacy
drivers

Signed-off-by: San Mehat <san@google.com>
/external/qemu/android/help.c
5bc6182ae984796a6d14be7f7b8eb73c1b630b8e 20-Nov-2009 Xavier Ducrohet <xav@android.com> Fix location of prebuilt skins.

Change-Id: I3ce440cff624138518dc410c304353bea1ecef91
/external/qemu/android/help.c
9085a28c14f369d231dbae099a690689179f428a 15-Sep-2009 vchtchetkine <vchtchetkine@google.com> Implementation for dynamic charmap option in emulator.

Created .kcm parser and added -charmap option to the emulator, so user
can specify keyboard layout for emulator session.
/external/qemu/android/help.c
318e4f294c181df33cf2541763904565b29bcccb 25-May-2009 David 'Digit' Turner <digit@google.com> This adds the '-prop <name>=<value>' option which is used to set
boot-time system properties from the command line. This is done
by implementing a new 'boot-properties' qemud service in the emulator.

This is to be used by the 'qemu-props' helper program that will be
invoked by /system/etc/init.goldfish.rc to read a list of system
properties from the emulator and set them in the emulated system
during boot.
/external/qemu/android/help.c
b58c44e55548129243185ef5927bd3abb5903044 25-Mar-2009 David Turner <> Automated import from //branches/donutburger/...@142528,142528
/external/qemu/android/help.c
b3ee93a038ab992ffdda9f232befdea6ea713b24 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/external/qemu/android/help.c
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/help.c
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/help.c
bae1bc39312d5019bd9a5b8d840a529213a69a17 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/external/qemu/android/help.c
ee2298a313b6e425d6ff0324be6a313b1cd9a399 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/external/qemu/android/help.c
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/android/help.c