qemu-e2k/hw/ide
Markus Armbruster fa879d62eb block: Attach non-qdev devices as well
For now, this just protects against programming errors like having the
same drive back multiple non-qdev devices, or untimely bdrv_delete().
Later commits will add other interesting uses.

While there, rename BlockDriverState member peer to dev, bdrv_attach()
to bdrv_attach_dev(), bdrv_detach() to bdrv_detach_dev(), and
bdrv_get_attached() to bdrv_get_attached_dev().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-09-06 11:23:51 +02:00
..
ahci.c block: explicit I/O accounting 2011-08-25 18:18:42 +02:00
ahci.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
atapi.c Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
cmd646.c
core.c block: Attach non-qdev devices as well 2011-09-06 11:23:51 +02:00
ich.c
internal.h block: explicit I/O accounting 2011-08-25 18:18:42 +02:00
isa.c
macio.c block: explicit I/O accounting 2011-08-25 18:18:42 +02:00
microdrive.c
mmio.c
pci.c
pci.h
piix.c block: Attach non-qdev devices as well 2011-09-06 11:23:51 +02:00
qdev.c
via.c