Home
last modified time | relevance | path

Searched hist:"29 c1a730" (Results 1 – 5 of 5) sorted by relevance

/qemu/block/
H A Dqcow2-cache.c29c1a730 Mon Jan 10 16:17:28 GMT 2011 Kevin Wolf <kwolf@redhat.com> qcow2: Use QcowCache

Use the new functions of qcow2-cache.c for everything that works on refcount
block and L2 tables.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dqcow2-refcount.c2795ecf6 Wed Apr 18 14:27:06 GMT 2012 Kevin Wolf <kwolf@redhat.com> qcow2: Fix return value of alloc_refcount_block

Someone forgot something in commit 29c1a730... Documenting the right
return value is not enough, you also need to actually return it in the
code.

This bug sometimes causes error return values even when everything has
succeeded: The new offset of the refcount block is truncated to 32 bits
and interpreted as signed. At least with small cluster sizes it's easy
to get a negative return value this way.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
29c1a730 Mon Jan 10 16:17:28 GMT 2011 Kevin Wolf <kwolf@redhat.com> qcow2: Use QcowCache

Use the new functions of qcow2-cache.c for everything that works on refcount
block and L2 tables.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dqcow2.h29c1a730 Mon Jan 10 16:17:28 GMT 2011 Kevin Wolf <kwolf@redhat.com> qcow2: Use QcowCache

Use the new functions of qcow2-cache.c for everything that works on refcount
block and L2 tables.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dqcow2-cluster.c29c1a730 Mon Jan 10 16:17:28 GMT 2011 Kevin Wolf <kwolf@redhat.com> qcow2: Use QcowCache

Use the new functions of qcow2-cache.c for everything that works on refcount
block and L2 tables.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dqcow2.c29c1a730 Mon Jan 10 16:17:28 GMT 2011 Kevin Wolf <kwolf@redhat.com> qcow2: Use QcowCache

Use the new functions of qcow2-cache.c for everything that works on refcount
block and L2 tables.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>