summaryrefslogtreecommitdiffstats
path: root/hw/ide/pci.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2017-09-20 14:45:07 +0200
committerEric Blake2017-09-25 15:21:26 +0200
commita693437037328a95d815ad5aec37ac2f8e130e58 (patch)
tree1ffe0df80ff9476b798bd645bef54f8de0e3997f /hw/ide/pci.c
parentblock/nbd-client: simplify check in nbd_co_receive_reply (diff)
downloadqemu-a693437037328a95d815ad5aec37ac2f8e130e58.tar.gz
qemu-a693437037328a95d815ad5aec37ac2f8e130e58.tar.xz
qemu-a693437037328a95d815ad5aec37ac2f8e130e58.zip
block/nbd-client: nbd_co_send_request: fix return code
It's incorrect to return success rc >= 0 if we skip qio_channel_writev_all() call due to s->quit. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20170920124507.18841-4-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/ide/pci.c')
0 files changed, 0 insertions, 0 deletions