Re: [Qemu-devel] [PATCH v3] monitor: fix dangling CPU pointer

2017-10-30 Thread Dr. David Alan Gilbert
* Greg Kurz (gr...@kaod.org) 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 > > This happens because "cpu" stores the pointer to the selected CPU

Re: [Qemu-devel] [PATCH v3] monitor: fix dangling CPU pointer

2017-10-30 Thread Igor Mammedov
On Tue, 17 Oct 2017 10:16:22 +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 > > This happens because "cpu"

[Qemu-devel] [PATCH v3] monitor: fix dangling CPU pointer

2017-10-17 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 This happens because "cpu" stores the pointer to the selected CPU into the monitor structure. When the CPU is