]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev-nbd.c
nbd: Switch from close to eject notifier
authorMax Reitz <mreitz@redhat.com>
Fri, 29 Jan 2016 15:36:06 +0000 (16:36 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:46 +0000 (17:50 +0100)
commit741cc431337891e0c1d69fcba6574aa8df3e4822
tree32843992f50f3f48c3c3cc2f98bb0b485ed73289
parent5b9e0e46935538bf2b24fcb70b65477f758413fd
nbd: Switch from close to eject notifier

The NBD code uses the BDS close notifier to determine when a medium is
ejected. However, now it should use the BB's BDS removal notifier for
that instead of the BDS's close notifier.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev-nbd.c
nbd/server.c