diff options
author | Ot ten Thije <ottenthije@google.com> | 2010-09-08 19:01:33 +0100 |
---|---|---|
committer | Ot ten Thije <ottenthije@google.com> | 2010-10-13 15:37:13 +0100 |
commit | c51182e909275b7d89c1ed847eae40fdd8b6a33f (patch) | |
tree | e93a8867c1e68755faa85aedbef58e27c79961b6 /android-configure.sh | |
parent | 00fa926bdd4c7d169f1124b6029234dcc254bc1f (diff) | |
download | external_qemu-c51182e909275b7d89c1ed847eae40fdd8b6a33f.zip external_qemu-c51182e909275b7d89c1ed847eae40fdd8b6a33f.tar.gz external_qemu-c51182e909275b7d89c1ed847eae40fdd8b6a33f.tar.bz2 |
Save NAND disk state in snapshots.
This patch fixes saving and restoring the state of the emulated NAND
disks, by copying all contents of each disk into the snapshot file.
During restore the disks are then entirely overwritten with the
snapshot contents.
The main issue with this approach is that the size of the disk
snapshots is determined by the maximum capacity of the disk in
question, rather than the actual size of the underlying file, which
may be considerably smaller. The difference is filled with padding.
Unfortunately, obvious approaches to avoid this padding result in
incorrect state after restoring.
Change-Id: I4abe329ff2cf2f159c3d6dfc206959614cc4ca35
Diffstat (limited to 'android-configure.sh')
0 files changed, 0 insertions, 0 deletions