qemu-e2k/hw/ide
Paolo Bonzini d12b9ff2a4 ide: migrate initial request state via IDEBus
This only breaks backwards migration compatibility if the bus is in
an error state.  It is in principle possible to avoid this by making
two subsections (one for version 1, and one for version 2, but with
the same name) with different "_needed" callbacks.  The v1 callback would
return true if error_status != 0 and the bus is PATA; the v2 callback
would return true if error_status != 0 and the bus is AHCI.

Forward migration keeps working.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424708286-16483-11-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-03-10 14:02:22 +01:00
..
ahci.c ide: replace set_unit callback with more IDEBus state 2015-03-10 14:02:22 +01:00
ahci.h ahci: replace SATA FIS type magic numbers with constants 2014-12-10 10:31:12 +01:00
atapi.c atapi migration: Throw recoverable error to avoid recovery 2015-02-06 17:24:20 +01:00
cmd646.c ide: introduce ide_register_restart_cb 2015-03-10 14:02:22 +01:00
core.c ide: migrate initial request state via IDEBus 2015-03-10 14:02:22 +01:00
ich.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
internal.h ide: place initial state of the current request to IDEBus 2015-03-10 14:02:22 +01:00
isa.c ide/isa: Replace unchecked qdev_init() by qdev_init_nofail() 2015-02-24 00:19:05 +01:00
macio.c ide: replace set_unit callback with more IDEBus state 2015-03-10 14:02:22 +01:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c hmp: Remove "info pcmcia" 2014-10-24 12:19:11 +01:00
mmio.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
pci.c ide: place initial state of the current request to IDEBus 2015-03-10 14:02:22 +01:00
pci.h ide: place initial state of the current request to IDEBus 2015-03-10 14:02:22 +01:00
piix.c ide: introduce ide_register_restart_cb 2015-03-10 14:02:22 +01:00
qdev.c BlockConf: Call backend functions to detect geometry and blocksizes 2015-03-10 14:02:22 +01:00
via.c ide: introduce ide_register_restart_cb 2015-03-10 14:02:22 +01:00