aboutsummaryrefslogtreecommitdiffstats
path: root/android/main.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-03-14 13:23:33 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-03-14 13:23:33 -0700
commita89252fb1e98161e9c5d4c1506eddda7dc93e6f8 (patch)
treec220fdab87bbfdbec73d836138cf39626f871e58 /android/main.c
parentd4f5a3ae87a7246613188940c1667bf2880da402 (diff)
parent873c3cb5688092d2822837511cfb2b330d265801 (diff)
downloadexternal_qemu-a89252fb1e98161e9c5d4c1506eddda7dc93e6f8.zip
external_qemu-a89252fb1e98161e9c5d4c1506eddda7dc93e6f8.tar.gz
external_qemu-a89252fb1e98161e9c5d4c1506eddda7dc93e6f8.tar.bz2
Merge "Fix snapshot autoconfig"
Diffstat (limited to 'android/main.c')
-rw-r--r--android/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/main.c b/android/main.c
index d3e7e8f..bd5a2fc 100644
--- a/android/main.c
+++ b/android/main.c
@@ -853,7 +853,7 @@ int main(int argc, char **argv)
}
else
{
- if (!opts->snapstorage) {
+ if (!opts->snapstorage && avdInfo_getSnapshotPresent(avd)) {
opts->snapstorage = avdInfo_getSnapStoragePath(avd);
if (opts->snapstorage != NULL) {
D("autoconfig: -snapstorage %s", opts->snapstorage);