Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.
Signed-off-by: Markus Armbruster <address@hidden>
---
block.c | 126 ++++------------------------------
block/block-backend.c | 151 ++++++++++++++++++++++++++++++++++++++---
block/qapi.c | 8 +--
blockdev.c | 8 +--
include/block/block.h | 45 ------------
include/block/block_int.h | 12 ++--
include/sysemu/block-backend.h | 35 ++++++++++
7 files changed, 203 insertions(+), 182 deletions(-)