aboutsummaryrefslogtreecommitdiffstats
path: root/savevm.c
diff options
context:
space:
mode:
authorTim Baverstock <weasel@google.com>2010-12-07 11:36:59 +0000
committerTim Baverstock <weasel@google.com>2010-12-14 17:17:41 +0000
commit622b8f4c760b8c4479d28430f978bad8bb9ea32c (patch)
treede3b032c6b8e41228dc93cc4da265c7060bb2fc5 /savevm.c
parent5c01a94e9233796c7e8c370d348c945390a36068 (diff)
downloadexternal_qemu-622b8f4c760b8c4479d28430f978bad8bb9ea32c.zip
external_qemu-622b8f4c760b8c4479d28430f978bad8bb9ea32c.tar.gz
external_qemu-622b8f4c760b8c4479d28430f978bad8bb9ea32c.tar.bz2
Send unsolicited time response to first signal strength query after loadvm
Change-Id: I9c6260493d42564ee3aa34799313368bb2de7d4d
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/savevm.c b/savevm.c
index 0e908f3..0905963 100644
--- a/savevm.c
+++ b/savevm.c
@@ -92,6 +92,7 @@
#include "migration.h"
#include "qemu_socket.h"
#include "qemu_file.h"
+#include "android/snapshot.h"
/* point to the block driver where the snapshots are managed */
static BlockDriverState *bs_snapshots;
@@ -1283,6 +1284,7 @@ void do_savevm_oc(OutputChannel *err, const char *name)
void do_loadvm(Monitor *mon, const char *name)
{
OutputChannel *oc = output_channel_alloc(mon, monitor_output_channel_cb);
+ android_snapshot_update_time_request = 1;
do_loadvm_oc(oc, name);
output_channel_free(oc);
}