Statistics
| Branch: | Revision:

root / block @ 96560cb3

Name Size
bochs.c 7.4 kB
cloop.c 5 kB
cow.c 8.7 kB
curl.c 14.8 kB
dmg.c 8.2 kB
nbd.c 4.8 kB
parallels.c 4.8 kB
qcow.c 29.6 kB
qcow2-cluster.c 24.4 kB
qcow2-refcount.c 29 kB
qcow2-snapshot.c 12.3 kB
qcow2.c 37.1 kB
qcow2.h 6.8 kB
raw-posix-aio.h 1.3 kB
raw-posix.c 35.3 kB
raw-win32.c 11.1 kB
vdi.c 28.9 kB
vmdk.c 26.3 kB
vpc.c 17.2 kB
vvfat.c 80 kB

Latest revisions

# Date Author Comment
756e6736 01/14/2010 01:14 am Kevin Wolf

block: Add bdrv_change_backing_file

Introduce the functions needed to change the backing file of an image. The
function is implemented for qcow2.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

f7dcfac0 01/14/2010 01:14 am Amit Shah

qcow2-refcount: remove dead assignment

clang-analyzer points out a redundant assignment.

Signed-off-by: Amit Shah <>
Signed-off-by: Anthony Liguori <>

f8012c13 01/14/2010 01:14 am Kevin Wolf

qcow/qcow2: implement bdrv_aio_flush

Now that we do not have to flush the backing device anymore implementing
the bdrv_aio_flush method for image formats is trivial.

[hch: forward ported to qemu mainline from a product tree]

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

1559ca00 01/11/2010 09:41 pm Christoph Hellwig

dmg: fix ->open failure

Currently the dmg image format driver simply opens the images as raw
if any kind of failure happens. This is contrarty to the behaviour
of all other image formats which just return an error and let the
block core deal with it.

Signed-off-by: Christoph Hellwig <>...

95a2f9bc 01/08/2010 05:58 pm François Revol

block/vdi: allow disk sizes not multiple of block size

The disk image I created from my old laptop disk with VBoxManage
internalcommand converthd obviously was not a multiple of 1MB as when
created from scratch. This fixes QEMU refusing it. We still require the...

ecbe1576 12/25/2009 09:27 pm Blue Swirl

block/bochs: improve format checking

Signed-off-by: Blue Swirl <>

00ccf932 12/25/2009 08:19 pm Kirill A. Shutemov

block/bochs.c: fix warning with _FORTIFY_SOURCE

CC    block/bochs.o
cc1: warnings being treated as errors
block/bochs.c: In function 'seek_to_sector':
block/bochs.c:202: error: ignoring return value of 'read', declared with attribute warn_unused_result...
702ef63f 12/03/2009 07:45 pm Kevin Wolf

qcow2: Fix some more qemu_malloc fallout

Oh joy...

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

12c09b8c 12/03/2009 07:45 pm Kevin Wolf

qemu-img: There is more than one host device driver

I haven't heard yet of anyone using qemu-img to copy an image to a real floppy,
but it's a valid use case.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

40ff6d7e 12/03/2009 07:45 pm Kevin Wolf

Don't leak file descriptors

We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
descriptors that don't need to be passed to children to stop this misbehaviour.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom