qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] macio/pmu: Fix missing vmsd terminator


From: Mark Cave-Ayland
Subject: Re: [Qemu-devel] [PATCH] macio/pmu: Fix missing vmsd terminator
Date: Fri, 27 Jul 2018 16:10:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 27/07/18 14:44, Dr. David Alan Gilbert wrote:

* Mark Cave-Ayland (address@hidden) wrote:
On 27/07/18 13:31, Dr. David Alan Gilbert (git) wrote:

From: "Dr. David Alan Gilbert" <address@hidden>

Fix missing terminator in VMStateDescription

Fixes: d811d61fbc6ca5f2be2185fd7cfa916e7ba613ce
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
   hw/misc/macio/pmu.c | 1 +
   1 file changed, 1 insertion(+)

diff --git a/hw/misc/macio/pmu.c b/hw/misc/macio/pmu.c
index e246b0fd41..27dfaf8a74 100644
--- a/hw/misc/macio/pmu.c
+++ b/hw/misc/macio/pmu.c
@@ -686,6 +686,7 @@ static const VMStateDescription vmstate_pmu_adb = {
           VMSTATE_TIMER_PTR(adb_poll_timer, PMUState),
           VMSTATE_UINT8(adb_reply_size, PMUState),
           VMSTATE_BUFFER(adb_reply, PMUState),
+        VMSTATE_END_OF_LIST()
       }
   };

Gah, yes indeed it certainly looks like I missed this whilst working on the
PMU code :(

Reviewed-by: Mark Cave-Ayland <address@hidden>

Just out of interest does a savevm/loadvm migration still succeed once this
has been added?

Have you got a suggested command line to test it with?

I'm effectively AFK until tomorrow now, but just quickly:

$ ./qemu-system-ppc -M mac99,via=pmu

Note that PMU support is new for 3.0 so there shouldn't be any backward compatibility issue here.


ATB,

Mark.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]