diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-11-26 14:03:42 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 11:45:49 -0600 |
commit | e1c7f0e3f998866bedc9bdb53d247859b7beb5ce (patch) | |
tree | b283a6bbc755d9e20be49635b48f440f919130d4 /usb-linux.c | |
parent | f35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2 (diff) |
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 'usb-linux.c')
0 files changed, 0 insertions, 0 deletions