qemu-e2k/hw/ide
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
..
ahci.c q35/ahci: Pick up -cdrom and -hda options 2014-10-03 10:30:33 +01:00
ahci.h q35/ahci: Pick up -cdrom and -hda options 2014-10-03 10:30:33 +01:00
atapi.c ide/atapi: Mark non-data commands as complete 2014-09-22 11:38:44 +01:00
cmd646.c SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
core.c ide: Update ide_drive_get to be HBA agnostic 2014-10-03 10:30:33 +01:00
ich.c ahci: MSI capability should be at 0x80, not 0x50. 2014-09-22 11:39:39 +01:00
internal.h ide: make all commands go through cmd_done 2014-08-15 18:03:12 +01:00
isa.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
macio.c block: Make the block accounting functions operate on BlockAcctStats 2014-09-10 10:41:29 +02:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c block: Drop some superfluous casts from void * 2014-08-20 11:51:28 +02:00
mmio.c IDE: MMIO IDE device control should be little endian 2014-09-10 10:41:29 +02:00
pci.c ide: move retry constants out of BM_STATUS_* namespace 2014-08-15 18:03:12 +01:00
pci.h ide: move BM_STATUS bits to pci.[ch] 2014-08-15 18:03:12 +01:00
piix.c block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() 2014-10-20 13:41:27 +02:00
qdev.c block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() 2014-10-20 13:41:27 +02:00
via.c memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00