From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37536 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmQIH-0000fU-Os for qemu-devel@nongnu.org; Fri, 20 Aug 2010 08:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmQIG-00056L-6R for qemu-devel@nongnu.org; Fri, 20 Aug 2010 08:01:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13842) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmQIF-000566-Ui for qemu-devel@nongnu.org; Fri, 20 Aug 2010 08:01:56 -0400 Date: Fri, 20 Aug 2010 17:31:48 +0530 From: Amit Shah Subject: Re: [Qemu-devel] [PATCH V2] balloon: Don't try fetching info if machine is stopped Message-ID: <20100820120148.GE2059@amit-laptop.redhat.com> References: <8450ea8e785c9049f0b3edddc01650a8c4b9ffe7.1282265244.git.amit.shah@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8450ea8e785c9049f0b3edddc01650a8c4b9ffe7.1282265244.git.amit.shah@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Paolo Bonzini , agl@us.ibm.com, Juan Quintela On (Fri) Aug 20 2010 [06:18:11], Amit Shah wrote: > If the machine is stopped and 'info balloon' is invoked, the monitor > process just hangs waiting for info from the guest. Return the most > recent balloon data in that case. > > See https://bugzilla.redhat.com/show_bug.cgi?id=623903 > > Reported-by: > Signed-off-by: Amit Shah > --- > v2: simplify call to qemu_balloon_status - Paulo > > balloon.c | 11 +++++++---- > balloon.h | 6 ++++-- > hw/virtio-balloon.c | 9 +++++++-- > 3 files changed, 18 insertions(+), 8 deletions(-) Please pick this for 0.13 as well. Thanks, Amit