Statistics
| Branch: | Revision:

root / block @ 0834c9ea

Name Size
Makefile.objs 552 Bytes
blkdebug.c 12.9 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 28.8 kB
nbd.c 14 kB
parallels.c 4.8 kB
qcow.c 26.9 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 35.4 kB
qcow2-refcount.c 39.7 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 50.3 kB
qcow2.h 10.3 kB
qed-check.c 6.5 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.6 kB
qed.h 10.8 kB
raw-posix-aio.h 1.5 kB
raw-posix.c 35 kB
raw-win32.c 11.6 kB
raw.c 3.7 kB
rbd.c 24.7 kB
sheepdog.c 53.9 kB
stream.c 5.8 kB
vdi.c 24.2 kB
vmdk.c 47.5 kB
vpc.c 22.4 kB
vvfat.c 81.6 kB

Latest revisions

# Date Author Comment
1f7a48de 09/12/2012 04:50 pm MORITA Kazutaka

sheepdog: fix savevm and loadvm

This patch sets data to be sent to Sheepdog correctly and fixes savevm
and loadvm operations on a Sheepdog image.

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

45724d6d 09/12/2012 04:50 pm Stefan Weil

block/curl: Fix wrong free statement

Report from smatch:
block/curl.c:546 curl_close(21) info: redundant null check on s->url calling free()

The check was redundant, and free was also wrong because the memory
was allocated using g_strdup.

Signed-off-by: Stefan Weil <>...

514f21a5 09/12/2012 04:50 pm Stefan Weil

vdi: Fix warning from clang

ccc-analyzer reports these warnings:

block/vdi.c:704:13: warning: Dereference of null pointer
bmap[i] = VDI_UNALLOCATED;
^
block/vdi.c:702:13: warning: Dereference of null pointer
bmap[i] = i;...

cdedd9d8 08/31/2012 06:04 pm Anthony Liguori

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

  • kwolf/for-anthony:
    qemu-iotests: add backing file smaller than image test case
    stream: complete early if end of backing file is reached
    qed: refuse unaligned zero writes with a backing file
ef72f76e 08/29/2012 04:23 pm Stefan Hajnoczi

qed: refuse unaligned zero writes with a backing file

Zero writes have cluster granularity in QED. Therefore they can only be
used to zero entire clusters.

If the zero write request leaves sectors untouched, zeroing the entire
cluster would obscure the backing file. Instead return -ENOTSUP, which...

571cd9dc 08/29/2012 04:23 pm Stefan Hajnoczi

stream: complete early if end of backing file is reached

It is possible to create an image that is larger than its backing file.
Reading beyond the end of the backing file produces zeroes if no writes
have been made to those sectors in the image file.

This patch finishes streaming early when the end of the backing file is...

135b9088 08/28/2012 03:50 pm Ronnie Sahlberg

iscsi: Set number of blocks to 0 for blank CDROM devices

The number of blocks of the device is used to compute the device size
in bdrv_getlength()/iscsi_getlength().
For MMC devices, the ReturnedLogicalBlockAddress in the READCAPACITY10
has a special meaning when it is 0....

a9b670b1 08/22/2012 09:31 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next:
    virtio-scsi: add backwards-compatibility properties for 1.1 and earlier machines
    iscsi: fix races between task completion and abort
    iscsi: simplify iscsi_schedule_bh...
7b2f89c4 08/22/2012 09:01 pm Anthony Liguori

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

  • kwolf/for-anthony:
    virtio-blk: hide VIRTIO_BLK_F_CONFIG_WCE from old machine types
    Documentation: Warn against qemu-img on active image
    vmdk: Read footer for streamOptimized images
    vmdk: Fix header structure...
a7e47d4b 08/22/2012 06:47 pm Jim Meyering

sheepdog: don't leak socket file descriptor upon connection failure

Signed-off-by: Jim Meyering <>
Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom