[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] macio: add missing registers to VMStateDescript
From: |
John Snow |
Subject: |
Re: [Qemu-devel] [PATCH] macio: add missing registers to VMStateDescription |
Date: |
Mon, 2 Oct 2017 13:14:37 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/30/2017 12:49 PM, Mark Cave-Ayland wrote:
> 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 <address@hidden>
> ---
> hw/ide/macio.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hw/ide/macio.c b/hw/ide/macio.c
> index ce194c6..2e043ef 100644
> --- a/hw/ide/macio.c
> +++ b/hw/ide/macio.c
> @@ -353,12 +353,14 @@ static const MemoryRegionOps pmac_ide_ops = {
>
> static const VMStateDescription vmstate_pmac = {
> .name = "ide",
> - .version_id = 4,
> + .version_id = 5,
> .minimum_version_id = 0,
> .fields = (VMStateField[]) {
> VMSTATE_IDE_BUS(bus, MACIOIDEState),
> VMSTATE_IDE_DRIVES(bus.ifs, MACIOIDEState),
> VMSTATE_BOOL(dma_active, MACIOIDEState),
> + VMSTATE_UINT32(timing_reg, MACIOIDEState),
> + VMSTATE_UINT32(irq_reg, MACIOIDEState),
> VMSTATE_END_OF_LIST()
> }
> };
>
Acked-by: John Snow <address@hidden>
- Re: [Qemu-devel] [PATCH] macio: add missing registers to VMStateDescription,
John Snow <=