| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch exposes Qemu's save, load, delete and list commands for
state snapshots on the Android console. A level of indirection is
added by means of the OutputChannel construct. This allows us to show
the output of the Qemu commands on the console rather than on the
monitor, while minimizing the differences with the upstream codebase.
The new commands are exposed only when the configuration constant
CONFIG_ANDROID_SNAPSHOTS is not 0.
Change-Id: I558d5cd505d321fe2da5835713d341d151f60534
|
|\
| |
| |
| | |
Change-Id: Iccbb8fd9ddd10af227b55d77c4eb228891eb4db7
|
| |\ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Fix invalid "geo fix" formatting bug.
See http://code.google.com/p/android/issues/detail?id=2928
for details.
Change-Id: Id2a497b2f8ac35890e4670f7385fa393da692a90
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
See http://code.google.com/p/android/issues/detail?id=2928
for details.
Change-Id: If192fe2f8dba9e5bd11f0f7fdc6a7445a8573623
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only Win32 does not allow this, so simplify the tests in the source code
+ Remove compiler warning
Change-Id: I100dd59e4477edcd24dd94becfa3e3b83a2b92ab
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | | |
Change-Id: I87f1695d61654a09ef40fa883cbc73acd59ac4c8
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The emulator version reported through ddms was incorrect
in the SDK r7 emulator binary due to a previous change in our
Makefiles.
Change-Id: I16fc16739de8490c63d802567226b74db7f74e0f
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I12383de77917c31d6227fc223753c1dcab31fb56
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix various 64-bitness issues in the source code to
make the --try-64 option work again on Linux. Note that
the generated binary is not faster than its 32-bit variant
when it comes to benchmarking the boot sequence.
Change-Id: Iad248e033757d4cd25524a438a5dbe1cf3aca6cf
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch introduces a check such that only drives exporting a
snapshot creation function are considered for storing snapshots.
SD cards are mounted with a raw file system, which does not
support snapshots. Since the SD card is now skipped, the actual
snapshot image can be safely mounted on hdb rather than hda.
The contents of the SD card itself are included in the snapshot
however, since they are accessed with the NAND driver (which
saves the contents of the underlying files).
Change-Id: I4816b6e54e227aca356389c15ce9f5c1282d2464
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The goldfish kernel's event driver is very picky about the
state of the virtual device it talks to. Essentially, it can
only listen to h/w events if the corresponding IRQ is raised
_after_ it has completed some initial setup.
If the IRQ is raised before, the driver will refuse to listen
to events, and any interaction becomes impossible.
We changed the way our UI windows are built and managed
previously, and this had the unfortunate effect of sending
one h/w event too soon, which, in the old code, would raise
the IRQ prematurely. This resulted in an input freeze.
To work around this the UI code was modified to not send
the initial h/w event, but this resulted in bad orientation
of the home screen at the end of the boot sequence.
This change allows the virtual device to wait for the kernel
driver before raising the IRQ, in the case any h/w event has
been buffered. It also removes the hack in the UI code,
allowing the send of the initial h/w event at startup.
BONUS MINOR CHANGES:
EsounD probe: fix error message.
console: fix compiler warnings
libpng: proper handling of MMX support.
android-configure.sh: fix --ignore-audio handling
The option didn't do anything if the audio development packages
are properly installed on the system.
Change-Id: Ib134158873d5cb72290c9676d92d20233226c889
|
|/
|
|
|
|
| |
This change removes some QEMU-specifics that crept into the UI code.
Change-Id: Ib1974dc64e54a35dc0cd01aec1eb547a9263a0c8
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change only applies to the stand-alone build system. It ensures
that when one does the following under Linux:
./android-configure.sh --mingw
make
then, the Windows executables that are generated have their name
ending in .exe (e.g. objs/emulator.exe instead of objs/emulator)
This does not affect the Android build system which already does the
right thing (and is used to build SDK binaries).
Change-Id: If9597e550f0bceec04d334eb84199a0f024a3fdf
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The compiler generated incorrect instructions when loading timers,
because qemu_get_be64 was used before it was declared. This caused
the compiler to assume that a normal (32 bit) int would be returned,
rather than a 64 bit one. Just including the "hw/hw.h" header is
sufficient to correct this.
The makefile for the project has recently been changed to build with
-Wall, which should prevent this from going unnoticed again.
Change-Id: I74c98183287cf26b767a36f7a6ff9ebf0b891826
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch fixes saving and restoring the state of the emulated NAND
disks, by copying all contents of each disk into the snapshot file.
During restore the disks are then entirely overwritten with the
snapshot contents.
The main issue with this approach is that the size of the disk
snapshots is determined by the maximum capacity of the disk in
question, rather than the actual size of the underlying file, which
may be considerably smaller. The difference is filled with padding.
Unfortunately, obvious approaches to avoid this padding result in
incorrect state after restoring.
Change-Id: I4abe329ff2cf2f159c3d6dfc206959614cc4ca35
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I76abd165b235dc3abeeb3a9676c0ef8097e54567
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ remove net_cleanup() call in qemu_main(). It is not needed since the
corresponding function only deals with the virtual LAN management
and was causing build issues on some machines.
Change-Id: I63896b9886c59259f75025277601711b450b2c0d
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
* changes:
Don't build MMX stuff on PowerPC
Add SDL_config.h for PPC (generated by android-configure.sh)
Add config-host.h for PPC (generated by android-configure.sh)
Fix detection of host endianness
|
| | |
| | |
| | |
| | | |
Change-Id: Ieab047784761f8b9d0862b817319a903f26a4bf5
|
| | |
| | |
| | |
| | | |
Change-Id: Idb0e3c52100693958f4856568969985899d0aedd
|
| | |
| | |
| | |
| | | |
Change-Id: I3f42635204bed9f078577d668da4a01263d1ba86
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The host endianness in android-configure.sh was backwards (assuming
that HOST_BIGENDIAN=1 means that the host is bigendian). However,
the script also failed to use the result, which is probably why
nobody noticed. Now, HOST_WORDS_BIGENDIAN is defined in
config-host.h if HOST_BIGENDIAN is 1.
Change-Id: Ied07f9db76c24e5ce403ae17fde5df7f50fafe8a
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I7bf458b81df98ee5a29bfb5b86511579ade16c10
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Preliminary implementation of a Multimode modem
- Added the +CTEC AT command which allows querying and setting the current technology
- Added preliminary NVRAM file support
Add cdma subscription source support
- Add support to save the subscription source preference to nv.
- Add command 'cdma ssource' to switch subscription source from the
emulator console
Implement AT+WRMP command
Implement the AT+WRMP command to set and get the roaming preference
Implement Emergency Callback Mode
Implement the +WSOS command and unsol to notify Emergency Callback Mode status
Implement +WPRL AT Command
Enable PRL update notification by implementing the AT+WPRL query command
Implement a console command to send +WPRL unsolicited response
Change-Id: I5c036c1b0832b94c0b7675931f6a18b5d9ca7436
|
| | |
| | |
| | |
| | |
| | | |
Bug: 3069576
Change-Id: I8345209c5c885ed7ed8e043e051884d64008961c
|
| | |
| | |
| | |
| | | |
Change-Id: I2dc79f9d0b3916749366aa4155431420e05888c1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changes introduces a new program, called emulator-ui
that only contains parts necessary to display the UI (and
removes anything related to CPU emulation).
This is only a skeleton right now, since it is not capable
of launching a core, or displaying anything meaningful,
except the skin, trackball, respond to commands (e.g.
change layouts with KP-7 and KP-9).
Later changes will introduce core launching, communication,
etc...
Change-Id: Icef9deb8a3a256532655e1cd409b4aab52565d03
|
| |/
|/|
| |
| |
| |
| | |
Also, this CL contains a minor fix to formatting boot options passed to the kernel
Change-Id: I267172d82094a0cbbbced2cee7a2990bb7fa3793
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I68075edc871af6510edbb027ac7de29ddbc85842
|
|/
|
|
|
|
| |
The build system now requires a LOCAL_MODULE_TAGS definition in each Android.mk
Change-Id: I080a721224dcf6cb24fa2a803a52dcfe7f626cd6
|