Statistics
| Branch: | Revision:

root @ 98a7a38f

Name Size
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  libcacard
  linux-headers
  linux-user
  net
  pc-bios
  po
  qapi
  qga
  qobject
  qom
  roms
  scripts
  slirp
  stubs
  sysconfigs
  target-alpha
  target-arm
  target-cris
  target-i386
  target-lm32
  target-m68k
  target-microblaze
  target-mips
  target-moxie
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
  util
.exrc 220 Bytes
.gitignore 1.9 kB
.gitmodules 810 Bytes
.mailmap 1.3 kB
.travis.yml 2.8 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 7 kB
LICENSE 846 Bytes
MAINTAINERS 17.9 kB
Makefile 17.5 kB
Makefile.objs 3.9 kB
Makefile.target 5.1 kB
README 88 Bytes
VERSION 7 Bytes
aio-posix.c 6.2 kB
aio-win32.c 6 kB
arch_init.c 34.4 kB
async.c 6.9 kB
balloon.c 3.7 kB
block-migration.c 22.8 kB
block.c 150.9 kB
blockdev-nbd.c 3 kB
blockdev.c 70.5 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
configure 128.3 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 8.3 kB
coroutine-ucontext.c 5.6 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 29.4 kB
cpus.c 37 kB
cputlb.c 10.6 kB
device-hotplug.c 2.2 kB
device_tree.c 8.5 kB
disas.c 14 kB
dma-helpers.c 7 kB
dtc 0 Bytes
dump.c 23.2 kB
exec.c 76.5 kB
gdbstub.c 43.2 kB
hmp-commands.hx 48.2 kB
hmp.c 47.9 kB
hmp.h 4.5 kB
iohandler.c 6 kB
ioport.c 8.9 kB
kvm-all.c 52.2 kB
kvm-stub.c 2.4 kB
main-loop.c 13.5 kB
memory.c 57.3 kB
memory_mapping.c 10.3 kB
migration-exec.c 1.8 kB
migration-fd.c 1.6 kB
migration-rdma.c 104.9 kB
migration-tcp.c 2.3 kB
migration-unix.c 2.3 kB
migration.c 19.7 kB
monitor.c 146.2 kB
nbd.c 28.9 kB
os-posix.c 8.5 kB
os-win32.c 4.2 kB
page_cache.c 5.5 kB
pixman 0 Bytes
qapi-schema.json 122.8 kB
qdev-monitor.c 20.2 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 11.1 kB
qemu-char.c 99.3 kB
qemu-coroutine-io.c 3 kB
qemu-coroutine-lock.c 4.8 kB
qemu-coroutine-sleep.c 1.3 kB
qemu-coroutine.c 3 kB
qemu-doc.texi 91 kB
qemu-file.c 17.5 kB
qemu-img-cmds.hx 2.6 kB
qemu-img.c 80.5 kB
qemu-img.texi 18.8 kB
qemu-io-cmds.c 54.3 kB
qemu-io.c 11.6 kB
qemu-log.c 4.8 kB
qemu-nbd.c 20.7 kB
qemu-nbd.texi 2.5 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 113.2 kB
qemu-seccomp.c 7.9 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 15.8 kB
qemu.nsi 7.2 kB
qemu.sasl 1.3 kB
qmp-commands.hx 92 kB
qmp.c 16 kB
qtest.c 13.8 kB
rules.mak 6.4 kB
savevm.c 32.5 kB
spice-qemu-char.c 9.5 kB
tcg-runtime.c 2.4 kB
tci.c 35.6 kB
thread-pool.c 9.5 kB
thunk.c 8.8 kB
tpm.c 7.6 kB
trace-events 77.9 kB
translate-all.c 53.4 kB
translate-all.h 995 Bytes
user-exec.c 19.8 kB
version.rc 797 Bytes
vl.c 122.1 kB
vmstate.c 15.5 kB
xbzrle.c 4 kB
xen-all.c 35.7 kB
xen-mapcache.c 12.4 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
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 <>

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 <>

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

quorum: Add quorum_aio_writev and its dependencies.

Writes are mirrored num_children times on num_children devices.

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

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

blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from blkverify.

qemu_iovec_compare() will be used to compare IOs vectors in quorum blkverify
mode. The patch extracts these functions in order to factorize the code.

Signed-off-by: Benoit Canet <>...

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 <>

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

quorum: Create quorum.c, add QuorumChildRequest and QuorumAIOCB.

Quorum is a block filter mirroring writes to num_children children.
For reads quorum reads each children and does a vote.
If more than vote_threshold versions are identical the quorum is reached and...

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

quorum: Create BDRVQuorumState and BlkDriver and do init.

Create the structure holding the quorum settings and write the minimal block
driver instanciation boilerplate.

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

View all revisions | View revisions

Also available in: Atom