On Wed, Jan 23, 2019 at 09:56:01AM +0100, Thomas Huth wrote: > The last user of blk_attach_dev_legacy() was the code in xen_disk which > has recently been reworked. Now there is no user for this legacy function > anymore. Thus we can finally remove all code related to the "legacy_dev" > flag, too, and turn the related "void *" in block-backend.c into proper > "DeviceState *" to fix some of the remaining TODOs there. > > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > v2: xen_disk.c is gone, no need to update it anymore > > block/block-backend.c | 54 > +++++++----------------------------------- > include/sysemu/block-backend.h | 5 ++-- > 2 files changed, 11 insertions(+), 48 deletions(-) >
Reviewed-by: Stefano Garzarella <sgarz...@redhat.com>