aboutsummaryrefslogtreecommitdiffstats
path: root/android/avd/info.c
diff options
context:
space:
mode:
authorOrjan Percy <orjan.percy@sonyericsson.com>2011-01-28 13:43:27 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2011-01-28 13:43:27 +0100
commit1712152e55face61231d8bd234bf10e6a7524e65 (patch)
tree8e9d42ef79e651ae9522c6e8090cc7a1aff557ed /android/avd/info.c
parent316669d58104cb260e2ffa1848f24547b71af49c (diff)
downloadexternal_qemu-1712152e55face61231d8bd234bf10e6a7524e65.zip
external_qemu-1712152e55face61231d8bd234bf10e6a7524e65.tar.gz
external_qemu-1712152e55face61231d8bd234bf10e6a7524e65.tar.bz2
Create user data image using the initial user data image
Starting the emulator with a new AVD should create a new user data image (userdata-qemu.img) as a copy of existing user data image (userdata.img). This is not done since the flag IMAGE_EMPTY_IF_MISSING will cause the user data image to be reset. By not setting the flag the user data is initialized in the way documented in code and on-line help. Change-Id: I787bcbc904f79edf241fbacb7446f459fc5f2ad0
Diffstat (limited to 'android/avd/info.c')
-rw-r--r--android/avd/info.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/android/avd/info.c b/android/avd/info.c
index 55fcebd..d620b83 100644
--- a/android/avd/info.c
+++ b/android/avd/info.c
@@ -750,7 +750,6 @@ _getImagePaths(AvdInfo* i, AvdInfoParams* params )
*/
imageLoader_set( l, AVD_IMAGE_USERDATA );
if ( !imageLoader_load( l, IMAGE_OPTIONAL |
- IMAGE_EMPTY_IF_MISSING |
IMAGE_DONT_LOCK ) )
{
/* it's not, we're going to initialize it. simply