From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Aneesh Kumar K.V" Subject: Re: [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB Date: Thu, 21 May 2009 16:39:06 +0530 Message-ID: <20090521110906.GB4992@skywalker> References: <4A1507EF.1050500@web.de> <20090521105738.GA4992@skywalker> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm-devel To: Jan Kiszka Return-path: Received: from e23smtp06.au.ibm.com ([202.81.31.148]:52323 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324AbZEULJS (ORCPT ); Thu, 21 May 2009 07:09:18 -0400 Received: from d23relay01.au.ibm.com (d23relay01.au.ibm.com [202.81.31.243]) by e23smtp06.au.ibm.com (8.13.1/8.13.1) with ESMTP id n4LB9Ha9002111 for ; Thu, 21 May 2009 21:09:17 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay01.au.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4LB9Jbt434268 for ; Thu, 21 May 2009 21:09:19 +1000 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4LB9IPi017863 for ; Thu, 21 May 2009 21:09:18 +1000 Content-Disposition: inline In-Reply-To: <20090521105738.GA4992@skywalker> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, May 21, 2009 at 04:27:38PM +0530, Aneesh Kumar K.V wrote: > On Thu, May 21, 2009 at 09:51:11AM +0200, Jan Kiszka wrote: > > This fixes the recently reported gdbstub regression of qemu-kvm. > > > > Signed-off-by: Jan Kiszka > > --- > > > > qemu-kvm.c | 2 -- > > 1 files changed, 0 insertions(+), 2 deletions(-) > > > > diff --git a/qemu-kvm.c b/qemu-kvm.c > > index 98c7cd7..bc3d7db 100644 > > --- a/qemu-kvm.c > > +++ b/qemu-kvm.c > > @@ -606,13 +606,11 @@ int kvm_main_loop(void) > > qemu_system_powerdown(); > > else if (qemu_reset_requested()) > > qemu_kvm_system_reset(); > > -#ifdef CONFIG_GDBSTUB > > else if (kvm_debug_cpu_requested) { > > gdb_set_stop_cpu(kvm_debug_cpu_requested); > > vm_stop(EXCP_DEBUG); > > kvm_debug_cpu_requested = NULL; > > } > > -#endif > > } > > > > pause_all_threads(); > > > > > Applied this patch to qemu-kvm tree and I get the error > " Remote 'g' packet reply is too long". Is there any other pathches i > should try ? > Works fine with the below patches http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=159c7d73428c7df3167babf8253d618aea253338 http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=c84899b311ac882c4f73299ad90b88ed3302b813 http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=125f74afaf973ff4faf6b4a8a4c8262df373fe49 http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=9d5bc0241268ceea7975ae9e4562fe21484afb68 -aneesh