Statistics
| Branch: | Revision:

root / block @ 188a7bbf

Name Size
Makefile.objs 552 Bytes
blkdebug.c 12.5 kB
blkverify.c 10 kB
bochs.c 7 kB
cloop.c 5.8 kB
cow.c 9.5 kB
curl.c 16.2 kB
dmg.c 8.7 kB
iscsi.c 25 kB
nbd.c 13.9 kB
parallels.c 4.8 kB
qcow.c 26.9 kB
qcow2-cache.c 8.2 kB
qcow2-cluster.c 35 kB
qcow2-refcount.c 39.4 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 47.3 kB
qcow2.h 9.7 kB
qed-check.c 5.8 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.9 kB
qed-table.c 8.4 kB
qed.c 45.5 kB
qed.h 10.8 kB
raw-posix-aio.h 1.5 kB
raw-posix.c 34.8 kB
raw-win32.c 11.6 kB
raw.c 3.6 kB
rbd.c 24 kB
sheepdog.c 53.6 kB
stream.c 6.3 kB
vdi.c 24.1 kB
vmdk.c 45.7 kB
vpc.c 22.4 kB
vvfat.c 81.3 kB

Latest revisions

# Date Author Comment
833e4085 06/15/2012 03:03 pm Zhi Yong Wu

qcow2: remove a line of unnecessary code

Commit 3948d1d4 removed the pointer argument we filled in with l2_offset
but forgot to remove the unnecessary l2_offset assignment.

Signed-off-by: Zhi Yong Wu <>
Reviewed-by: Stefan Hajnoczi <>...

87267753 06/15/2012 03:03 pm Zhi Yong Wu

qcow2: fix endianness conversion

Signed-off-by: Zhi Yong Wu <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

5500316d 06/15/2012 03:03 pm Paolo Bonzini

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 <>
Signed-off-by: Kevin Wolf <>

f9749f28 06/15/2012 03:03 pm Paolo Bonzini

stream: tweak usage of bdrv_co_is_allocated

is_allocated_base has complex semantics that are not really usable
outside streaming. Split the check in two parts, where the allocated
state for the top bs is moved to the caller. The resulting function
is more generally useful....

188a7bbf 06/15/2012 03:03 pm Paolo Bonzini

stream: move is_allocated_above to block.c

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

1417d7e4 06/15/2012 02:52 pm Kevin Wolf

qcow2: Silence false warning

Some gcc versions seem not to be able to figure out that the switch
statement covers all possible values and that c is therefore always
initialised. Add a default branch for them.

Reported-by: malc <>
Signed-off-by: Kevin Wolf <>...

7456e4ce 06/07/2012 10:21 am Paolo Bonzini

build: move block/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

c2d76497 05/30/2012 11:18 am Jim Meyering

block: prevent snapshot mode $TMPDIR symlink attack

In snapshot mode, bdrv_open creates an empty temporary file without
checking for mkstemp or close failure, and ignoring the possibility
of a buffer overrun given a surprisingly long $TMPDIR.
Change the get_tmp_filename function to return int (not void),...

6f3c714e 05/30/2012 10:58 am MORITA Kazutaka

sheepdog: fix return value of do_load_save_vm_state

bdrv_save_vmstate and bdrv_load_vmstate should return the vmstate size
on success, and -errno on error.

Signed-off-by: MORITA Kazutaka <>
Signed-off-by: Kevin Wolf <>

30676153 05/29/2012 12:30 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony:
    fdc-test: introduced qtest no_media_on_start and cmos qtest for floppy
    fdc: fix media detection
    fdc: floppy drive should be visible after start without media
    qemu-iotests: mark 035 qcow2-only...

View revisions

Also available in: Atom