summaryrefslogtreecommitdiff
path: root/block/qcow2-refcount.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-11-26 14:03:42 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 11:45:49 -0600
commite1c7f0e3f998866bedc9bdb53d247859b7beb5ce (patch)
treeb283a6bbc755d9e20be49635b48f440f919130d4 /block/qcow2-refcount.c
parentf35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2 (diff)
downloadqemu-e1c7f0e3f998866bedc9bdb53d247859b7beb5ce.tar.gz
qcow2: Store exact backing format length
Currently qcow2 unnecessarily rounds up the length of the backing format string to the next multiple of 8. At the same time, the array in BlockDriverState can only hold 15 characters, so in effect backing formats with 9 characters or more don't work (e.g. host_device). Save the real string length and things start to work for all valid image format names. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/qcow2-refcount.c')
0 files changed, 0 insertions, 0 deletions