On 16.09.2014 20:12, Markus Armbruster wrote:
Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.
Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
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(-)
Reviewed-by: Max Reitz <mre...@redhat.com>