| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Use -audio <backend> to select the audio driver.
Change-Id: I71c837e4c78241711be5f38ef9b03294a69145bd
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Also, this CL contains a minor fix to formatting boot options passed to the kernel
Change-Id: I267172d82094a0cbbbced2cee7a2990bb7fa3793
|
|
|
|
| |
Change-Id: I56955fb13a073b15ee2a41fdfbd6845bfe65edc5
|
|
|
|
|
|
| |
Also moved along -tcpdump option
Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
|
|
|
|
| |
Change-Id: Ide3914fa52f62f618d39ac20f02bce8185a6805a
|
|
|
|
|
|
| |
Also passed along -show-kernel option to the emulator core
Change-Id: Ic606a7a9cdac677cbd5ce9ca1a9f1a2b16da4dfa
|
|
|
|
| |
Change-Id: I9d76bb3cd892b7b2b0713a27ff5477195c93ff36
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Also move qemu-malloc.c to common CORE and UI sources
Change-Id: Ifd62ae247cc03700d85b5fc35072d73ac37cc570
|
|
|
|
| |
Change-Id: I8dac387cd43c5eff7e9b6adf0d718261d0ab8d81
|
|
|
|
| |
Change-Id: I9fd9170f2b2e3ad7d80071888f7da2ead54c21cf
|
|
|
|
| |
Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
|
|
|
|
| |
Change-Id: I7ed897ca92c1344505f982897e2f59cc68c42d89
|
|
|
|
|
| |
A critical test in the execution loop was missed in the latest huge integration.
Also optimize slightly the basic-block start recording helper interface.
|
|
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.
|