summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorKevin Wolf2009-06-26 20:19:38 +0200
committerAnthony Liguori2009-06-29 21:18:07 +0200
commit3b88e52b41fe77728b4accb68e14bed98bdc75d3 (patch)
treebb12b001b4a7334cac55fd0e4c3eea3b77b46133 /hw/pc.c
parentblock-raw: Allow pread beyond the end of growable images (diff)
downloadqemu-3b88e52b41fe77728b4accb68e14bed98bdc75d3.tar.gz
qemu-3b88e52b41fe77728b4accb68e14bed98bdc75d3.tar.xz
qemu-3b88e52b41fe77728b4accb68e14bed98bdc75d3.zip
qcow2: Cache refcount blocks during snapshot creation
The really time consuming part of snapshotting is to adjust the reference count of all clusters. Currently after each adjusted cluster the refcount block is written to disk. Don't write each single byte immediately to disk but cache all writes to the refcount block and write them out once we're done with the block. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.c')
0 files changed, 0 insertions, 0 deletions