aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorLiu Yuan <tailai.ly@taobao.com>2013-03-18 14:27:55 +0800
committerKevin Wolf <kwolf@redhat.com>2013-03-19 11:48:36 +0100
commitfca23f0ad211e4debf80796a65165d0eea146424 (patch)
treecdd394c9f78924c44a7d3bd76478cc9595608242 /block/qcow2.c
parent2d62a95766025e6a0a333528278936e2cc8bf978 (diff)
sheepdog: show error message for halt status
Sheepdog (neither quorum nor unsafe mode) will refuse to serve IO requests when number of alive nodes is less than that of copies specified by users. This will return 0x19 to QEMU client which currently doesn't recognize it. This patch adds an error description when QEMU client receives it, other than plainly printing 'Invalid error code' Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Cc: Kevin Wolf <kwolf@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Liu Yuan <tailai.ly@taobao.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions