History log of /external/qemu/android/avd/info.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
47cdf4186795848aa4f64f9f4cebf5fb43df339a 11-Jul-2014 David 'Digit' Turner <digit@google.com> android/avd: Add proper C++ inclusion guards.

Change-Id: I59c1c4fc4559967b8f9a5fa0f56dfda62684a0a7
/external/qemu/android/avd/info.h
916f9cc4b9adf4eca98b4a6cc4366d43c4971617 15-May-2014 Ji-Hwan Lee <jihwan@google.com> Allow using dynamic skin from android build

Bug: 14981377
Change-Id: Ifeb281216008aa163aa81d1179af72e2843abd90
/external/qemu/android/avd/info.h
5ea914899e5dbef4e8a7454b40a3c6648173f086 13-Feb-2014 David 'Digit' Turner <digit@google.com> Add boot.prop support.

This patch allows one to specify a custom list of boot properties that
will be injected into the guest system at boot time. The properties
must be placed in a file named 'boot.prop', which can appear in the
following locations:

For AVDs:

1) In the AVD's content directory.
2) Otherwise in the system image's directory.

For Android platform builds:

1) In the $ANDROID_BUILD_OUT directory.
Note that this is different from build.prop which will be read
from $ANDROID_BUILD_OUT/system/ instead (and isn't used to
inject any properties).

Note that any '-boot-property <name>=<value>' on the command-line will
be injected after the content of 'boot.prop', overriding it unless it
begins with a 'ro.' prefix.

The patch refactors a little how information is retrieved for builds
and AVD configurations. It also fixes a few bugs in the auto-detection
logic for the target architecture / ABI.

BUG=12819077

Change-Id: I9f41f21d9de3e4d25de427f0e5a6bb517f34c5ba
/external/qemu/android/avd/info.h
d899918690d5e392897e001abfb00b151ba2b13e 09-Oct-2012 Siva Velusamy <vsiva@google.com> Show dynamic skin if enabled in AVD settings

Change-Id: I083db22b677878919a2e88bfb0df000d2ca1fda6
/external/qemu/android/avd/info.h
689d1147b1994be1d8e33ee4d1a8ec76742bb4a6 19-Apr-2012 Xavier Ducrohet <xav@android.com> Fix skin issue when launching emulator from tree.

When launching the emulator with just -skin from the dev tree
the fake AVD was not using the hardware.ini config from the skin
due to creating it before resolving skinDir and skinName from the
command line options.

This change updates the AVD after doing so.

Change-Id: Ia0912d72775e26f080f763b29629a3691c253c43
/external/qemu/android/avd/info.h
873c3cb5688092d2822837511cfb2b330d265801 14-Mar-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Fix snapshot autoconfig

This CL should fix external issue 26839, where system gets loaded from a snapshot
even it is explicitly disabled in config.ini.

The reason for that was a bug in autoconfig generator that didn't respect config.ini
settings for snapshot.

Change-Id: I617e9de7f7472f8d5b75d544f81c5b160f81c2f8
/external/qemu/android/avd/info.h
d86c724b74e6c04a89219d87559d0b580e100445 10-Dec-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implement ADB communication over QEMU pipe

Change-Id: I62ff5898c7a955aaaa8af8f7ee7ed018af860f80
/external/qemu/android/avd/info.h
72d561178e62b74923cfe3bc0faa59bcb07c57c3 12-Aug-2011 Xavier Ducrohet <xav@android.com> Revert "Revert "Merge c80340 from master to r13: Move charmap to hardware properties"..."

This reverts commit cccd28ca5064a7bd14282cd774ee5bb7126d5845.

c80340 add a CL to tools_r13 that broken the build. It was therefore reverted
with cccd28. This revert was merged into tools_r13 but shouldn't have been.

This reverts the revert to put back the CL in master.

Change-Id: I95fcefedb77596cfdf76269f248b2ae80c85c830
/external/qemu/android/avd/info.h
c462eb94f5e4f8b9dcb101ce4e4fcc714ddd7410 12-Aug-2011 The Android Open-Source Project <initial-contribution@android.com> merge from tools_r13

Change-Id: Iabd0b49a5c3ad991da1b4f636ecdf881b1c271aa
cccd28ca5064a7bd14282cd774ee5bb7126d5845 12-Aug-2011 Xavier Ducrohet <xav@android.com> Revert "Merge c80340 from master to r13: Move charmap to hardware properties". do not merge.

This reverts commit f490aee025b3bab5bcdb065e5fc1b1abecf16b97.

Change-Id: I59a0b2aebc8ab2b788a820a206c6eb4fc6e6e6d2
/external/qemu/android/avd/info.h
f490aee025b3bab5bcdb065e5fc1b1abecf16b97 19-May-2011 David 'Digit' Turner <digit@android.com> Merge c80340 from master to r13: Move charmap to hardware properties

The name of the emulated charmap must be passed to the guest
kernel because it is used by the guest input handling code to
load the proper charmap files from the system partition.

This mandates that the name becomes a hardware property for
the sake of supporting proper snapshotting and ui/core separation.

From now on, the charmap name found in a skin will be ignored
completely. This shouldn't be a problem in practice because all
skins used the default name (qwerty2) anyway.

The only reason to change the default value would be if emulating
a guest system image that depends on a different charmap during
emulation.

Change-Id: If571684000b159ae9e9849661c9ff18e19b4cc75
/external/qemu/android/avd/info.h
c803400d45535925fb35c373e2d610fde522c546 19-May-2011 David 'Digit' Turner <digit@android.com> Move charmap to hardware properties

The name of the emulated charmap must be passed to the guest
kernel because it is used by the guest input handling code to
load the proper charmap files from the system partition.

This mandates that the name becomes a hardware property for
the sake of supporting proper snapshotting and ui/core separation.

From now on, the charmap name found in a skin will be ignored
completely. This shouldn't be a problem in practice because all
skins used the default name (qwerty2) anyway.

The only reason to change the default value would be if emulating
a guest system image that depends on a different charmap during
emulation.

Change-Id: If571684000b159ae9e9849661c9ff18e19b4cc75
/external/qemu/android/avd/info.h
2ed457ee5259b236bf39701404897f4c486326e8 15-Jun-2011 David 'Digit' Turner <digit@android.com> arm: Automic ARMv7-A support for platform builds.

This patches forces the emulator-arm program to emulate a Cortex A8
when it detects that it is launching a platform build that was built
for the ARMv7-A architecture.

This is done by parsing the build.prop file and comparing the target
ABI to the value 'armeabi-v7a'. When this is the case, this will also
automatically adjust which prebuilt kernel image is selected from the
Android tree.

Note that nothing is changed for SDK AVDs in this change. They will
still need to define 'hw.cpu.model = cortex-a8' in their config.ini
to enable ARMv7-A support.

Change-Id: Ibba2a9a4bafbea3c33cb2dd365a881d488de15a9
/external/qemu/android/avd/info.h
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/android/avd/info.h
fd59c330bec77e7b9241e478efb1e1c508480d1d 01-Mar-2011 David 'Digit' Turner <digit@android.com> Move data partition initialization to core.

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

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

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

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

Change-Id: I1f887e6f8fc38e43b1fff3f7bab3814b52542762
/external/qemu/android/avd/info.h
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/android/avd/info.h
25eb6557b94da066d6e137c07aeced39badf5aa6 25-Feb-2011 David 'Digit' Turner <digit@android.com> Rework AvdInfo processing.

This patch changes the code in android/avd/info.c to prepare
for future patches that will move initialization disk images
to the core (including locking and creating temporary files).

+ Remove AvdInfo structure dependencies on many of the
functions, to make them more generic/usable.

+ Remove skin-related processing from avdInfo_new() and
avdInfo_newFromBuild().

+ Remove avdInfo_getSkinName() and avdInfo_getSkinDir(), and
replace them with a single avdInfo_getSkinInfo().

+ Rename 'qemu-hardware.ini' to 'hardware-qemu.ini' to follow
the same naming convention than the one used for disk
images (e.g. "userdata-qemu.img" and "system-qemu.img")

Change-Id: I32cb0a5850f8c0b9df93d2630552941fd2b461c1
/external/qemu/android/avd/info.h
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/avd/info.h
42074e5e184aed78dee0efb14d7376325516c070 10-Feb-2011 David 'Digit' Turner <digit@android.com> Write the core hardware configuration file to AVD's content directory.

Do not write the core's hardware configuration file to a temporary file.
Instead, stored it under the AVD's content directory with the name
qemu-hardware.ini. For platform builds, use $ANDROID_PRODUCT_OUT/qemu-hardware.ini

The purpose of this auto-generated file is to contain all hardware configuration
required to properly launch a core from the UI. Further patches will get rid of
special core command-line options (e.g. -android-gui) and rely on the content of
this file, by adding new hw properties.

Change-Id: Id761151c8c8990f1cfa7380779b720080f49469f
/external/qemu/android/avd/info.h
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/avd/info.h
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/avd/info.h
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/avd/info.h
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/avd/info.h
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/avd/info.h
cd059b15f2c7df69f4a087bd66900eb172e41d1c 28-Aug-2009 David 'Digit' Turner <digit@google.com> Added two new hardware properties to control AVD partition sizes.

disk.systemPartition.size (default 66MB)
disk.dataPartition.size (default 66MB)

If the emulator detects that an image file is larger than the corresponding
setting, it will do the following:

- for AVDs running from the SDK, an error message will be printed and
the emulator aborts. Note that this can only happen if there are some
serious mis-configuration of AVDs anyway.

- when launching the emulator from the Android build system, a warning
will be printed, and the partition size will be automatically adjusted
at launch.

Previously, trying to launch an over-sized system image would result in the
emulated system booting, but then failing to find certain files, depending on
how the yaffs2 disk images are built. This caused hard-to-debug issues.

Note that the option -partition-size <size> can be used to override the AVD's
setting at runtime.
/external/qemu/android/avd/info.h
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/avd/info.h
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/avd/info.h
bae1bc39312d5019bd9a5b8d840a529213a69a17 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/external/qemu/android/avd/info.h
ee2298a313b6e425d6ff0324be6a313b1cd9a399 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/external/qemu/android/avd/info.h
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/android/avd/info.h