From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw9aU-0000Zk-CB for qemu-devel@nongnu.org; Wed, 24 Aug 2011 05:17:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qw9aT-0001JG-8B for qemu-devel@nongnu.org; Wed, 24 Aug 2011 05:17:30 -0400 Received: from david.siemens.de ([192.35.17.14]:15030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw9aS-0001Iq-R4 for qemu-devel@nongnu.org; Wed, 24 Aug 2011 05:17:29 -0400 Message-ID: <4E54C179.2090608@siemens.com> Date: Wed, 24 Aug 2011 11:16:41 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1314137806-5747-1-git-send-email-agraf@suse.de> <4E54B590.9040408@redhat.com> In-Reply-To: <4E54B590.9040408@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around Qemu to test kernels List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Alexander Graf Cc: "kvm@vger.kernel.org list" , "linux-kernel@vger.kernel.org List" , qemu-devel Developers , Pekka Enberg , Linus Torvalds On 2011-08-24 10:25, Avi Kivity wrote: > On 08/24/2011 01:16 AM, Alexander Graf wrote: >> +" >> +echo "\ >> +Your guest is bound to the current foreground shell. To quit the guest, >> +please use Ctrl-A x" >> +echo " Executing: $QEMU_BIN $QEMU_OPTIONS -append \"$KERNEL_APPEND\" >> -smp $SMP" >> +echo >> + >> +exec $QEMU_BIN $QEMU_OPTIONS -append "$KERNEL_APPEND -smp $SMP" > > Would be nice to support launching gdb in a separate terminal with > vmlinux already loaded, and already attached to qemu. + loading a python script into gdb to pull in module symbols. There are a few implementations floating around (including my own one). It would also be nice if one could append QEMU (note the capitalization BTW) options to the script, maybe everything after a '--' separator. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux