diff options
| author | Paolo Bonzini | 2012-05-09 16:49:58 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2012-06-15 14:03:42 +0200 |
| commit | 5500316ded9db5b10072334cde1e27fb37682240 (patch) | |
| tree | c02ce4c1a29b4a05d8860b6fec6f99d5b9eb26a2 /include | |
| parent | qcow2: fix endianness conversion (diff) | |
| download | qemu-5500316ded9db5b10072334cde1e27fb37682240.tar.gz qemu-5500316ded9db5b10072334cde1e27fb37682240.tar.xz qemu-5500316ded9db5b10072334cde1e27fb37682240.zip | |
block: implement is_allocated for raw
Either FIEMAP, or SEEK_DATA+SEEK_HOLE can be used to implement the
is_allocated callback for raw files. On Linux ext4, btrfs and XFS
all support it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
