qemu-ppc
[Top][All Lists]
Advanced

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

[Qemu-ppc] [PATCH 3/4] target-ppc: add CPU access_type into the migratio


From: Mark Cave-Ayland
Subject: [Qemu-ppc] [PATCH 3/4] target-ppc: add CPU access_type into the migration stream
Date: Wed, 6 Jan 2016 18:22:12 +0000

This is referenced in cpu_ppc_handle_mmu_fault() and so should be included
in the migration stream.

Signed-off-by: Mark Cave-Ayland <address@hidden>
---
 target-ppc/machine.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index 322ce84..cb56423 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -530,7 +530,7 @@ const VMStateDescription vmstate_ppc_cpu = {
 
         /* Internal state */
         VMSTATE_UINTTL(env.hflags_nmsr, PowerPCCPU),
-        /* FIXME: access_type? */
+        VMSTATE_INT32(env.access_type, PowerPCCPU),
 
         /* Interrupt state */
         VMSTATE_UINT32(env.pending_interrupts, PowerPCCPU),
-- 
1.7.10.4




reply via email to

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