mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
2c28b21f7c
Adding something like a "delete notifier" to a BlockBackend would not make much sense, because whoever is interested in registering there will probably hold a reference to that BlockBackend; therefore, the notifier will never be called (or only when the notifiee already relinquished its reference and thus most probably is no longer interested in that notification). Therefore, this patch just passes through the close notifier interface of the root BDS. This will be called when the device is ejected, for instance, and therefore does make sense. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1416309679-333-4-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> |
||
---|---|---|
.. | ||
accel.h | ||
arch_init.h | ||
balloon.h | ||
block-backend.h | ||
blockdev.h | ||
bt.h | ||
char.h | ||
cpus.h | ||
device_tree.h | ||
dma.h | ||
dump-arch.h | ||
dump.h | ||
hostmem.h | ||
iothread.h | ||
kvm.h | ||
memory_mapping.h | ||
os-posix.h | ||
os-win32.h | ||
qtest.h | ||
rng-random.h | ||
rng.h | ||
seccomp.h | ||
sysemu.h | ||
tpm.h | ||
tpm_backend.h | ||
tpm_backend_int.h | ||
watchdog.h | ||
xen-mapcache.h |