[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors addre
From: |
Cédric Le Goater |
Subject: |
[Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM |
Date: |
Mon, 21 Mar 2016 15:02:07 +0100 |
This address is changed by the linux kernel using the H_SET_MODE hcall
and needs to be migrated in order to restart a spapr VM running in
TCG. Other platforms should not be affected.
Signed-off-by: Cédric Le Goater <address@hidden>
---
target-ppc/machine.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index 692121e98319..a418d463db83 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -553,6 +553,9 @@ const VMStateDescription vmstate_ppc_cpu = {
VMSTATE_UINTTL(env.hflags_nmsr, PowerPCCPU),
/* FIXME: access_type? */
+ /* Effective Address of interrupt vectors */
+ VMSTATE_UINTTL(env.excp_prefix, PowerPCCPU),
+
/* Sanity checking */
VMSTATE_UINTTL_EQUAL(env.msr_mask, PowerPCCPU),
VMSTATE_UINT64_EQUAL(env.insns_flags, PowerPCCPU),
--
2.1.4
- [Qemu-devel] [RFC PATCH 0/2] ppc: fix spapr migration (TCG), Cédric Le Goater, 2016/03/21
- [Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM,
Cédric Le Goater <=
- Re: [Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM, Thomas Huth, 2016/03/21
- Re: [Qemu-devel] [Qemu-ppc] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM, Greg Kurz, 2016/03/21
- Re: [Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM, Cédric Le Goater, 2016/03/21
- Re: [Qemu-devel] [Qemu-ppc] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM, Greg Kurz, 2016/03/21
- Re: [Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM, David Gibson, 2016/03/21
- Re: [Qemu-devel] [RFC PATCH 1/2] target-ppc: migrate interrupt vectors address for spapr VM, Cédric Le Goater, 2016/03/22
[Qemu-devel] [RFC PATCH 2/2] target-ppc: fix interrupt vectors address migration, Cédric Le Goater, 2016/03/21