Re: [Qemu-devel] [PATCH 0/2] monitor: increase the refcount of the current CPU

2017-10-13 Thread Greg Kurz
On Fri, 13 Oct 2017 10:46:22 +0200 Cornelia Huck wrote: > On Fri, 13 Oct 2017 10:35:06 +0200 > Greg Kurz wrote: > > > If a CPU selected with the "cpu" command is hot-unplugged then "info cpus" > > causes QEMU to exit: > > > > (qemu) device_del cpu1 > > (qemu) info cpus > > qemu:qemu_cpu_ki

Re: [Qemu-devel] [PATCH 0/2] monitor: increase the refcount of the current CPU

2017-10-13 Thread Cornelia Huck
On Fri, 13 Oct 2017 10:35:06 +0200 Greg Kurz wrote: > If a CPU selected with the "cpu" command is hot-unplugged then "info cpus" > causes QEMU to exit: > > (qemu) device_del cpu1 > (qemu) info cpus > qemu:qemu_cpu_kick_thread: No such process > > I could verify that this happens with x86 an

[Qemu-devel] [PATCH 0/2] monitor: increase the refcount of the current CPU

2017-10-13 Thread Greg Kurz
If a CPU selected with the "cpu" command is hot-unplugged then "info cpus" causes QEMU to exit: (qemu) device_del cpu1 (qemu) info cpus qemu:qemu_cpu_kick_thread: No such process I could verify that this happens with x86 and ppc, but I guess s390x is also impacted. This series tries to fix t