commit | 1743b515860ef645b285908ee367c5e343e0020c | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 19 14:33:23 2011 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Dec 22 11:53:59 2011 +0100 |
tree | e3e4b075df3892869bce293affd2d6dbb5dca40b | |
parent | a61c67828dea7c64edaf226cadb45b4ffcc1d411 [diff] |
qemu-nbd: move client handling to nbd.c This patch sets up the fd handler in nbd.c instead of qemu-nbd.c. It introduces NBDClient, which wraps the arguments to nbd_trip in a single structure, so that we can add a notifier to it. This way, qemu-nbd can know about disconnections. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>