ide: add save/restore support for isa
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio-pci error logging
Use the new qemu_error() function for virtio-blk-pci.
qdev error logging
Use the new qemu_error() function in qdev.c
ide: add IDEBus struct, cleanups
The current IDE code uses an array of two IDEState structs to maintainthe IDE bus. This patch adds a IDEBus to be used instead and does abunch of cleanups:
ide: split away ide-internal.h
move lots of IDE defines to the new file.also make a bunch of functions non-staticand add declaration for them. Needed bythe following patches of this series.
ide: split away ide-isa.c
create ide-isa.c and place isa bus support there.only build ide-isa support for platforms using it.also create ide.h header file.
ide: split away ide-pci.c
create ide-pci.c and place pci bus support there.only build ide-pci support for platforms using it.
Fix build (merge with isa mmio split)
ide: split away ide-macio.c
create ide-macio.c and place macio support there.only build ide-macio support for platforms using it.
ide: split away ide-mmio.c
create ide-mmio.c and place mmio support there.only build ide-mmio support for platforms using it.
ide: split away ide-microdrive.c
create ide-microdrive.c and place microdrive support there.only build ide-microdrive support for platforms using it.
View revisions
Also available in: Atom