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
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 @@
/* Initialize boot properties. */
boot_property_init_service();
+ android_hw_control_init();
optind = 1;
for(;;) {