macio: add missing registers to VMStateDescription
Commit 4f7265f
"ppc/ide/macio: Add missing registers" added two extra macio
registers but forgot to add them to the corresponding VMStateDescription.
The version number is bumped accordingly, although this will have little
effect given that the Mac machines are practically unmigratable.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
c5bbcaa4b7
commit
c2a0125a83
@ -353,12 +353,14 @@ static const MemoryRegionOps pmac_ide_ops = {
|
|||||||
|
|
||||||
static const VMStateDescription vmstate_pmac = {
|
static const VMStateDescription vmstate_pmac = {
|
||||||
.name = "ide",
|
.name = "ide",
|
||||||
.version_id = 4,
|
.version_id = 5,
|
||||||
.minimum_version_id = 0,
|
.minimum_version_id = 0,
|
||||||
.fields = (VMStateField[]) {
|
.fields = (VMStateField[]) {
|
||||||
VMSTATE_IDE_BUS(bus, MACIOIDEState),
|
VMSTATE_IDE_BUS(bus, MACIOIDEState),
|
||||||
VMSTATE_IDE_DRIVES(bus.ifs, MACIOIDEState),
|
VMSTATE_IDE_DRIVES(bus.ifs, MACIOIDEState),
|
||||||
VMSTATE_BOOL(dma_active, MACIOIDEState),
|
VMSTATE_BOOL(dma_active, MACIOIDEState),
|
||||||
|
VMSTATE_UINT32(timing_reg, MACIOIDEState),
|
||||||
|
VMSTATE_UINT32(irq_reg, MACIOIDEState),
|
||||||
VMSTATE_END_OF_LIST()
|
VMSTATE_END_OF_LIST()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user