From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDEw8-0000XK-0N for qemu-devel@nongnu.org; Mon, 19 Jan 2015 11:12:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDEw3-0001I4-A0 for qemu-devel@nongnu.org; Mon, 19 Jan 2015 11:12:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDEw3-0001Hy-2b for qemu-devel@nongnu.org; Mon, 19 Jan 2015 11:12:15 -0500 Date: Mon, 19 Jan 2015 17:12:10 +0100 From: Igor Mammedov Message-ID: <20150119171210.2c6d7f42@nial.brq.redhat.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu is freezing in rebooting after CPU hot-unplug. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paulo Vital Cc: qemu-devel@nongnu.org On Fri, 9 Jan 2015 15:14:34 +0100 Paulo Vital wrote: > Hi > > I'm doing some tests on CPU hot-unplug using as base the mentioned patch > set in [1] and I'm facing some problems while executing a reboot (via > 'shutdown -r now' command in guest's command line or QMP system_reset > command) after unplug one CPU. After execute (2 times) the loop related to > reset the system on main_loop_should_exit(), looks like qemu continues > executing the main_loop() but the system, itself, freezes! > > If I request to reboot using the guest command line (shutdown -r now), the > guest runs the normal OS reset processes but doesn't restart. If I request > by QMP command, I qemu executes all reset process but the guest didn't run > the OS guest process. > > I'd like to know where I can debug during the reset process. By what I > could debug, the flow looks normal, but I guess something is missing :-D > > [1] https://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg00072.html It's a bit outdated series, could you try with http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg01557.html and its dependencies. Please, CC me and author of that series so your posts won't drown in total traffic of mail-list. > > Thanks in advance. > --- > Paulo Vital