Re: [Qemu-devel] [PATCH] xics: add unrealize handler

2017-05-24 Thread David Gibson
On Wed, May 24, 2017 at 07:40:43PM +0200, Greg Kurz wrote: > Now that ICPState objects get finalized on CPU unplug, we should unregister > reset handlers as well to avoid a QEMU crash at machine reset time. > > Signed-off-by: Greg Kurz Applied to ppc-for-2.10. > --- > hw/intc/xics.c |5

[Qemu-devel] [PATCH] xics: add unrealize handler

2017-05-24 Thread Greg Kurz
Now that ICPState objects get finalized on CPU unplug, we should unregister reset handlers as well to avoid a QEMU crash at machine reset time. Signed-off-by: Greg Kurz --- hw/intc/xics.c |5 + hw/intc/xics_kvm.c |6 ++ 2 files changed, 11 insertions(+) diff --git a/hw/intc/