summary refs log tree commit diff stats
path: root/scripts/qapi-event.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2017-07-07 18:29:09 +0300
committerEric Blake <eblake@redhat.com>2017-07-10 09:57:24 -0500
commit1e120ffead85d08d41160065e0d8cf86400b1c9e (patch)
treefe44c8769b0005c8c3ea3a14ca90ea56dd4a5d2c /scripts/qapi-event.py
parent99c62e70aaa9a3ad843ab1a58129104f83f366db (diff)
downloadfocaccia-qemu-1e120ffead85d08d41160065e0d8cf86400b1c9e.tar.gz
focaccia-qemu-1e120ffead85d08d41160065e0d8cf86400b1c9e.zip
nbd/server: nbd_negotiate: return 1 on NBD_OPT_ABORT
Separate the case when a client sends NBD_OPT_ABORT from all other
errors. It will be needed for the following patch, where errors will be
reported.
This particular case is not actually an error - it honestly follows the
NBD protocol. Therefore it should not be reported like an error.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170707152918.23086-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi-event.py')
0 files changed, 0 insertions, 0 deletions