blkdebug: pass getlength to underlying file
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jun 2012 06:10:41 +0000 (08:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jul 2012 13:53:02 +0000 (15:53 +0200)
commite130225587cb0d48b2c0b7c04b6bf9c95fe75ac9
tree0f016ee98186b6c075995c60d3cb5e6c80883937
parent368e8dd10a24a529612f37ba7370262f5ea5a814
blkdebug: pass getlength to underlying file

This is required when using blkdebug with raw format.  Unlike qcow2/QED,
raw asks blkdebug for the length of the file, it doesn't get it from
a header.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkdebug.c