Re: [Qemu-devel] Segfault with coalesced mmio and boot CPU removal

2016-07-26 Thread David Gibson
On Wed, Jul 27, 2016 at 10:01:41AM +0530, Bharata B Rao wrote: > On Wed, Jul 27, 2016 at 08:22:51AM +0530, Bharata B Rao wrote: > > Hi, > > > > Coalesced mmio buffer is part of vCPU 0's kvm_run mmap'ed area > > and with the introduction of CPU hotplug, vCPU 0 can be removed on > > PowerPC leading

Re: [Qemu-devel] Segfault with coalesced mmio and boot CPU removal

2016-07-26 Thread Bharata B Rao
On Wed, Jul 27, 2016 at 08:22:51AM +0530, Bharata B Rao wrote: > Hi, > > Coalesced mmio buffer is part of vCPU 0's kvm_run mmap'ed area > and with the introduction of CPU hotplug, vCPU 0 can be removed on > PowerPC leading to the below seen segfault in QEMU. > > > This happens because during CPU

[Qemu-devel] Segfault with coalesced mmio and boot CPU removal

2016-07-26 Thread Bharata B Rao
Hi, Coalesced mmio buffer is part of vCPU 0's kvm_run mmap'ed area and with the introduction of CPU hotplug, vCPU 0 can be removed on PowerPC leading to the below seen segfault in QEMU. 0x100a1d34 in kvm_flush_coalesced_mmio_buffer () at qemu/kvm-all.c:1828 1828while (ring