Le Mon, 10 May 2010 22:12:33 +0200, Stefan Weil a écrit : > The fix is based on a patch from Kevin Wolf. Here his comment: > > "The number of blocks needs to be rounded up to cover all of the > virtual hard > disk. Without this fix, we can't even open our own images if their > size is not > a multiple of the block size." > > While Kevin's patch addressed vdi_create, my modification also fixes > vdi_open which now accepts images with odd disk sizes as well as > images created with old versions of qemu-img. > > Cc: Kevin Wolf <kw...@redhat.com> > Cc: François Revol <re...@free.fr>
Looks good to me on first read. François.