diff options
| author | Lukas Straub | 2020-12-28 16:08:44 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2021-01-13 10:21:17 +0100 |
| commit | fee091cdffe73c6d5094ec67b8245ede58aced5b (patch) | |
| tree | 79cb713df17657d7b92a38eddfc5392ee12c0706 /include/exec/plugin-gen.h | |
| parent | Introduce yank feature (diff) | |
| download | qemu-fee091cdffe73c6d5094ec67b8245ede58aced5b.tar.gz qemu-fee091cdffe73c6d5094ec67b8245ede58aced5b.tar.xz 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 'include/exec/plugin-gen.h')
0 files changed, 0 insertions, 0 deletions
