aboutsummaryrefslogtreecommitdiffstats
path: root/vl-android.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-04-27 12:26:15 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-04-27 12:50:18 +0200
commitca9505992288636908169d0389087b3ca5277d07 (patch)
tree03a7f18c180f6fb47269a9f918483b5d19cd65ee /vl-android.c
parentc9154bef9c32ddf269b078dd15d153fe1be1fa42 (diff)
downloadexternal_qemu-ca9505992288636908169d0389087b3ca5277d07.zip
external_qemu-ca9505992288636908169d0389087b3ca5277d07.tar.gz
external_qemu-ca9505992288636908169d0389087b3ca5277d07.tar.bz2
Fix -qemu -vnc startup.
Starting the emulator with something like "-qemu -vnc :1" didn't result in a valid boot sequence, due to the way our "hw-control" service is initialized. This patch fixes the issue. Note however that since a VNC client cannot send proper touch events, it can only be used as a viewer at the moment. Change-Id: Ib9b60ff7028892368547bff89b84f580344c2edd
Diffstat (limited to 'vl-android.c')
-rw-r--r--vl-android.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl-android.c b/vl-android.c
index 89b0e3f..1d730f5 100644
--- a/vl-android.c
+++ b/vl-android.c
@@ -198,6 +198,7 @@
#include "balloon.h"
#include "android/hw-lcd.h"
#include "android/boot-properties.h"
+#include "android/hw-control.h"
#include "android/core-init-utils.h"
#include "android/audio-test.h"
@@ -4043,6 +4044,7 @@ int main(int argc, char **argv, char **envp)
/* Initialize boot properties. */
boot_property_init_service();
+ android_hw_control_init();
optind = 1;
for(;;) {