Re: [Qemu-devel] [PATCH v2] qcow2: Store exact backing format length

2009-12-01 Thread Markus Armbruster
Kevin Wolf writes: > 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_dev

[Qemu-devel] [PATCH v2] qcow2: Store exact backing format length

2009-11-26 Thread Kevin Wolf
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