diff options
| author | BenoƮt Canet | 2014-02-21 22:21:16 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2014-02-21 22:29:50 +0100 |
| commit | d55dee2044791a02394a3db7055cedac68dca26b (patch) | |
| tree | b79abcebcf1f8d2831f9846e961edcd4e86dabbf /include | |
| parent | quorum: Add quorum mechanism. (diff) | |
| download | qemu-d55dee2044791a02394a3db7055cedac68dca26b.tar.gz qemu-d55dee2044791a02394a3db7055cedac68dca26b.tar.xz qemu-d55dee2044791a02394a3db7055cedac68dca26b.zip | |
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 <benoit@irqsave.net>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
