qemu-e2k/hw/microblaze
Markus Armbruster fa1d36df74 block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo()
The patch is big, but all it really does is replacing

    dinfo->bdrv

by

    blk_bs(blk_by_legacy_dinfo(dinfo))

The replacement is repetitive, but the conversion of device models to
BlockBackend is imminent, and will shorten it to just
blk_legacy_dinfo(dinfo).

Line wrapping muddies the waters a bit.  I also omit tests whether
dinfo->bdrv is null, because it never is.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Benoît Canet <benoit.canet@nodalink.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-10-20 13:41:27 +02:00
..
Makefile.objs Microblaze: Convert Microblaze-pic handling to GPIOs 2014-01-14 11:08:36 +10:00
boot.c microblaze: boot: Don't hack the elf entry point 2014-05-13 09:12:40 +10:00
boot.h hw/microblaze: Add support for loading initrd images 2013-10-24 22:56:48 +02:00
petalogix_ml605_mmu.c block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() 2014-10-20 13:41:27 +02:00
petalogix_s3adsp1800_mmu.c block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() 2014-10-20 13:41:27 +02:00