commit | 5c8cab48087d3544cb788309ac729bca08244020 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Feb 24 15:13:35 2016 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu May 19 16:45:31 2016 +0200 |
tree | aa5b14bd20159c44139267b448436eef2331be74 | |
parent | cbe1beb7a1eaa34e0c24b4897395dac017e5d16f [diff] |
block: Use BdrvChild callbacks for change_media/resize We want to get rid of BlockDriverState.blk in order to allow multiple BlockBackends per BDS. Converting the device callbacks in block.c (which assume a single BlockBackend) to per-child callbacks gets us rid of the first few instances. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>