Home
last modified time | relevance | path

Searched hist:"1743 b515" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dqemu-nbd.c1743b515 Mon Sep 19 12:33:23 GMT 2011 Paolo Bonzini <pbonzini@redhat.com> 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>