qemu-e2k/hw/mips
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
..
addr.c hw/mips: Add API to convert KVM guest KSEG0 <-> GPA 2014-06-18 16:58:10 +02:00
cputimer.c hw/mips/cputimer: Don't start periodic timer in KVM mode 2014-06-18 16:57:52 +02:00
gt64xxx_pci.c memory: convert memory_region_destroy to object_unparent 2014-08-18 12:06:20 +02:00
Makefile.objs hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
mips_fulong2e.c ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
mips_int.c hw/mips: In KVM mode, inject IRQ2 (I/O) interrupts via ioctls 2014-06-18 16:59:12 +02:00
mips_jazz.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
mips_malta.c block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() 2014-10-20 13:41:27 +02:00
mips_mipssim.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
mips_r4k.c block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() 2014-10-20 13:41:27 +02:00