diff options
author | Lukas Straub <lukasstraub2@web.de> | 2020-12-28 16:08:44 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-01-13 10:21:17 +0100 |
commit | fee091cdffe73c6d5094ec67b8245ede58aced5b (patch) | |
tree | 79cb713df17657d7b92a38eddfc5392ee12c0706 /qapi | |
parent | 50186051f425da3ace2425371c5271d0b64e7122 (diff) |
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 'qapi')
0 files changed, 0 insertions, 0 deletions