summary refs log tree commit diff stats
path: root/hw/cuda.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-06-26 20:19:38 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 14:18:07 -0500
commit3b88e52b41fe77728b4accb68e14bed98bdc75d3 (patch)
treebb12b001b4a7334cac55fd0e4c3eea3b77b46133 /hw/cuda.c
parent22afa7b5b67bb8bc58939d100363ee6753a50467 (diff)
downloadfocaccia-qemu-3b88e52b41fe77728b4accb68e14bed98bdc75d3.tar.gz
focaccia-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/cuda.c')
0 files changed, 0 insertions, 0 deletions