summary refs log tree commit diff stats
path: root/chardev/char-socket.c
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2020-12-28 16:08:44 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-01-13 10:21:17 +0100
commitfee091cdffe73c6d5094ec67b8245ede58aced5b (patch)
tree79cb713df17657d7b92a38eddfc5392ee12c0706 /chardev/char-socket.c
parent50186051f425da3ace2425371c5271d0b64e7122 (diff)
downloadfocaccia-qemu-fee091cdffe73c6d5094ec67b8245ede58aced5b.tar.gz
focaccia-qemu-fee091cdffe73c6d5094ec67b8245ede58aced5b.zip
block/nbd.c: Add yank feature
Register a yank function which shuts down the socket and sets
s->state = NBD_CLIENT_QUIT. This is the same behaviour as if an
error occured.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <b73eb07db6d1fcd00667beb13ae6117260f002c3.1609167865.git.lukasstraub2@web.de>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'chardev/char-socket.c')
0 files changed, 0 insertions, 0 deletions