Statistics
| Branch: | Revision:

root / block @ 9a05feab

Name Size
Makefile.objs 1.4 kB
backup.c 12.1 kB
blkdebug.c 20 kB
blkverify.c 9 kB
bochs.c 7.2 kB
cloop.c 5.9 kB
commit.c 7.1 kB
cow.c 12.1 kB
curl.c 19.8 kB
dmg.c 10.4 kB
gluster.c 19.6 kB
iscsi.c 42.1 kB
linux-aio.c 5.2 kB
mirror.c 22.4 kB
nbd-client.c 11 kB
nbd-client.h 1.4 kB
nbd.c 10.4 kB
nfs.c 11.7 kB
parallels.c 4.9 kB
qapi.c 20.1 kB
qcow.c 28.6 kB
qcow2-cache.c 8.6 kB
qcow2-cluster.c 54.6 kB
qcow2-refcount.c 58.7 kB
qcow2-snapshot.c 21.2 kB
qcow2.c 70.5 kB
qcow2.h 16.4 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 47.2 kB
qed.h 10.8 kB
quorum.c 24 kB
raw-aio.h 1.6 kB
raw-posix.c 58.1 kB
raw-win32.c 18.8 kB
raw_bsd.c 6.2 kB
rbd.c 24.3 kB
sheepdog.c 69.6 kB
snapshot.c 10.7 kB
ssh.c 29.1 kB
stream.c 7 kB
vdi.c 25.7 kB
vhdx-endian.c 5.2 kB
vhdx-log.c 28.9 kB
vhdx.c 62.6 kB
vhdx.h 19.1 kB
vmdk.c 63.6 kB
vpc.c 24.8 kB
vvfat.c 84.7 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
e7a1d6c5 02/25/2014 12:50 pm Peter Maydell

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

Block patches

  1. gpg: Signature made Fri 21 Feb 2014 21:42:24 GMT using RSA key ID C88F2FD6
  2. gpg: Good signature from "Kevin Wolf <>"
  • remotes/kevin/tags/for-upstream: (54 commits)...
6dedf052 02/24/2014 05:38 pm Peter Maydell

Merge remote-tracking branch 'remotes/bonzini/configure' into staging

  • remotes/bonzini/configure:
    build: softmmu targets do not have a "main.o" file
    configure: Disable libtool if -fPIE does not work with it (bug #1257099)
    block: convert block drivers linked with libs to modules...
8a87f3d7 02/21/2014 11:32 pm Max Reitz

quorum: Simplify quorum_open()

Although it may not look like it, this patch simplifies quorum_open().
qdict_array_split() is now able to return QLists with different objects
than only QDicts, therefore it will now do all the work and
quorum_open() does not have to handle reference strings by itself....

1c508d17 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_co_flush().

Makes a vote to select error if any.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

98a7a38f 02/21/2014 11:29 pm Benoît Canet

quorum: Implement recursive .bdrv_recurse_is_first_non_filter in quorum.

This is used to activate quorum snapshot.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

c88a1de5 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_open() and quorum_close().

Example of command line:

-drive if=virtio,driver=quorum,\
children.0.file.filename=1.raw,\
children.0.node-name=1.raw,\
children.0.driver=raw,\
children.1.file.filename=2.raw,\
children.1.node-name=2.raw,\
children.1.driver=raw,\...

95c6bff3 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum mechanism.

This patchset enables the core of the quorum mechanism.
The num_children reads are compared to get the majority version and if this
version exists more than threshold times the guest won't see the error at all.

If a block is corrupted or if an error occurs during an IO or if the quorum...

d55dee20 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_getlength().

Check that every bs file returns the same length.
Otherwise, return -EIO to disable the quorum and
avoid length discrepancy.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

a28e4c40 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_invalidate_cache().

We really want that live migration works with quorum so implement
quorum_invalidate_cache().

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

7db6982a 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_aio_readv.

Add code to do num_children reads in parallel and cleanup the structures
afterwards.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

View revisions

Also available in: Atom