diff options
author | David 'Digit' Turner <digit@google.com> | 2009-05-25 18:01:03 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2009-05-26 17:23:25 +0200 |
commit | 318e4f294c181df33cf2541763904565b29bcccb (patch) | |
tree | 35b5085c9e35e91967e2d4a4db80e28ec086e1d3 /docs | |
parent | 0d47fe5756b1f243e8d65968cd73c0119363f909 (diff) | |
download | external_qemu-318e4f294c181df33cf2541763904565b29bcccb.zip external_qemu-318e4f294c181df33cf2541763904565b29bcccb.tar.gz external_qemu-318e4f294c181df33cf2541763904565b29bcccb.tar.bz2 |
This adds the '-prop <name>=<value>' option which is used to set
boot-time system properties from the command line. This is done
by implementing a new 'boot-properties' qemud service in the emulator.
This is to be used by the 'qemu-props' helper program that will be
invoked by /system/etc/init.goldfish.rc to read a list of system
properties from the emulator and set them in the emulated system
during boot.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ANDROID-QEMUD-SERVICES.TXT | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/ANDROID-QEMUD-SERVICES.TXT b/docs/ANDROID-QEMUD-SERVICES.TXT index 24636e5..4ac53f4 100644 --- a/docs/ANDROID-QEMUD-SERVICES.TXT +++ b/docs/ANDROID-QEMUD-SERVICES.TXT @@ -153,3 +153,28 @@ image. Implementation: android/hw-sensors.c Since: SDK 1.5 (cupcake) + + +"boot-properties" service: +-------------------------- + + This service is used to set system properties in the emulated system at + boot time. It is invoked by the 'qemu-props' helper program that is invoked + by /system/etc/init.goldfish.rc. All messages are framed and the protocol + is the following: + + 1/ Clients sends the 'list' command + + 2/ Service answers by listing all system properties to set. One per + message with the following format: + + <property-name>=<property-value> + + Note that <property-value> is not zero-terminated. + + + 3/ After sending all the properties, the service force-closes the + connection. + + Implementation: android/boot-properties.c + Since: SDK 1.XXX (donut) |