]> Git Repo - qemu.git/commit - nbd.c
nbd: add notification for closing an NBDExport
authorPaolo Bonzini <[email protected]>
Tue, 18 Sep 2012 11:59:03 +0000 (13:59 +0200)
committerPaolo Bonzini <[email protected]>
Wed, 19 Sep 2012 13:26:29 +0000 (15:26 +0200)
commit0ddf08db22a9ef6b122d8c4cfe5b25d2c2c51962
treedcb0d20b2d886dc2111edb98228726d741b15333
parent4b9441f6b3565ba6affa95141590cd2be4ae0cd9
nbd: add notification for closing an NBDExport

In order to exit cleanly from qemu-nbd, add a callback that triggers
when an NBDExport is closed.  In the case of qemu-nbd it will exit the
main loop.

Signed-off-by: Paolo Bonzini <[email protected]>
nbd.c
nbd.h
qemu-nbd.c
This page took 0.022945 seconds and 4 git commands to generate.