diff options
author | Ot ten Thije <ottenthije@google.com> | 2010-10-18 13:37:37 +0100 |
---|---|---|
committer | Ot ten Thije <ottenthije@google.com> | 2010-10-28 13:47:54 +0100 |
commit | ae835acc2d1a8b4aaeb599add9cfc02ea5789eaf (patch) | |
tree | aff76c935e32ce7bf6a0ae26150fa1ffd56e8faa /Makefile.android | |
parent | 2ff39a367738422c0ca1313cac8ff380e1fdd498 (diff) | |
download | external_qemu-ae835acc2d1a8b4aaeb599add9cfc02ea5789eaf.zip external_qemu-ae835acc2d1a8b4aaeb599add9cfc02ea5789eaf.tar.gz external_qemu-ae835acc2d1a8b4aaeb599add9cfc02ea5789eaf.tar.bz2 |
Add command line flag to show list of snapshots.
This patch introduces the flag '-snapshot-list', which causes the
emulator to output a table of snapshots in the currently mounted
snapshot storage file.
The snapshot file is accessed with a very simple driver for the Qcow2
file system, independent of Qemu's block driver framework. This way,
the flag is available in the emulator-ui builds as well. Using Qemu's
framework would have resulted in adding a lot of Qemu dependencies to
the UI build, which we are explicitly trying to avoid.
Change-Id: I059b9ac53e2f8e051757a5c637761eccf8ea17cb
Diffstat (limited to 'Makefile.android')
-rw-r--r-- | Makefile.android | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.android b/Makefile.android index 1cc904a..1d82197 100644 --- a/Makefile.android +++ b/Makefile.android @@ -693,6 +693,7 @@ CORE_MISC_SOURCES = vl-android.c \ android/hw-qemud.c \ android/core-init-utils.c \ android/config.c \ + android/snapshot.c \ ifeq ($(HOST_ARCH),x86) CORE_MISC_SOURCES += i386-dis.c @@ -1181,6 +1182,7 @@ VL_SOURCES := framebuffer.c \ android/cmdline-option.c \ android/config.c \ android/display.c \ + android/snapshot.c \ android/main.c \ qemu-timer-ui.c \ vl-android-ui.c \ |