aboutsummaryrefslogtreecommitdiff
path: root/qemu-coroutine.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-18 13:31:56 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-09-19 15:26:29 +0200
commit7860a380ac2a9fd09a6e8f31fd9db5318fc91285 (patch)
tree3f8850554633c9d9e0c14a8926862c31ac2cef54 /qemu-coroutine.h
parent0ddf08db22a9ef6b122d8c4cfe5b25d2c2c51962 (diff)
qemu-nbd: rewrite termination conditions to use a state machine
Use a simple state machine with the following states: - RUNNING => accepting connections - TERMINATE => main loop must call nbd_export_close/put, and not accept connections anymore - TERMINATING => waiting for pending requests to finish - TERMINATED => the NBDExport has been closed Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-coroutine.h')
0 files changed, 0 insertions, 0 deletions