Searched hist:"7860 a380" (Results 1 – 1 of 1) sorted by relevance
/qemu/ |
H A D | qemu-nbd.c | 7860a380 Tue Sep 18 11:31:56 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> 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>
|