Received: from eggs.gnu.org ([208.118.235.92]:47525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrGZD-0002IE-OU for qemu-devel@nongnu.org; Fri, 04 Jan 2013 18:20:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrGZC-00046e-C8 for qemu-devel@nongnu.org; Fri, 04 Jan 2013 18:20:47 -0500 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <1357326444.666.11@snotra> Date: Fri, 4 Jan 2013 23:57:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1357326444.666.11@snotra> Subject: Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 04.01.2013, at 20:07, Scott Wood wrote: > On 01/04/2013 12:54:51 PM, Alexander Graf wrote: >> On 04.01.2013, at 19:50, Scott Wood wrote: >> > On 01/04/2013 04:24:59 AM, Alexander Graf wrote: >> >> msi_supported =3D true; >> >> list =3D list_be; >> >> diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs >> >> index 237a0ed..6c11ef8 100644 >> >> --- a/target-ppc/Makefile.objs >> >> +++ b/target-ppc/Makefile.objs >> >> @@ -9,4 +9,3 @@ obj-y +=3D mmu_helper.o >> >> obj-y +=3D timebase_helper.o >> >> obj-y +=3D misc_helper.o >> >> obj-y +=3D mem_helper.o >> >> -obj-y +=3D mpic_helper.o >> >> diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h >> >> index e88ebe0..0db06d6 100644 >> >> --- a/target-ppc/cpu.h >> >> +++ b/target-ppc/cpu.h >> >> @@ -1068,6 +1068,8 @@ struct CPUPPCState { >> >> target_ulong ivpr_mask; >> >> target_ulong hreset_vector; >> >> hwaddr mpic_cpu_base; >> >> + /* true when the external proxy facility mode is enabled */ >> >> + int mpic_proxy; >> >> #endif >> > >> > bool? >> IIRC we can't save/restore bools easily using savevm, and this one = should be saved/restored. >=20 > I see bool handlers in savevm.c. I mean vmstate of course. But you're right - there are bool handlers. = Awesome :). Alex > I'm not sure how a non-fixed-size "int" is better. >=20 > BTW, docs/migration.txt says that savevm is the "legacy" approach. >=20 > -Scott