qemu-patch-raspberry4/hw/ide
Kevin Wolf def93791f2 ide: Split error status from status register
When adding the werror=stop mode, some flags were added to s->status
which are used to determine what kind of operation should be restarted
when the VM is continued.

Unfortunately, it turns out that s->status is in fact a device register
and as such is visible to the guest (some of the abused bits are even
writable for the guest).

For migration we keep on using the old VMState field (renamed to
migration_compat_status) if the status register doesn't use any of the
previously abused bits. If it does, we use a subsection with a clean copy of
the status register.

The error status is always sent in a subsection if there is any error. It can't
use the old field because errors happen even without PCI.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-06-15 14:36:15 +02:00
..
ahci.c ahci: Fix non-NCQ accesses for LBA > 16bits 2011-05-19 12:08:28 +02:00
ahci.h ich/ahci: convert to pci_register_bar_simple() 2011-04-07 13:56:46 +03:00
atapi.c ide/atapi: fix set but unused 2011-05-03 11:29:21 +02:00
cmd646.c ide: Fix build for cmd646.c 2010-12-17 19:57:21 +01:00
core.c ide: Split error status from status register 2011-06-15 14:36:15 +02:00
ich.c ahci: Unbreak bar registration 2011-05-16 10:15:47 -05:00
internal.h ide: Split error status from status register 2011-06-15 14:36:15 +02:00
isa.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
macio.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
microdrive.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
mmio.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
pci.c ide: Split error status from status register 2011-06-15 14:36:15 +02:00
pci.h ide: Split error status from status register 2011-06-15 14:36:15 +02:00
piix.c isa-bus: Remove bogus IRQ sharing check 2011-02-21 15:46:53 +01:00
qdev.c blockdev: Store -drive option media in DriveInfo 2011-05-19 10:26:21 +02:00
via.c isa-bus: Remove bogus IRQ sharing check 2011-02-21 15:46:53 +01:00