From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: Unable to single-step in kvm, always results in a resume Date: Tue, 19 Jan 2010 16:11:36 +0100 Message-ID: <4B55CBA8.6040306@siemens.com> References: <4B55C05D.6030408@xceedium.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Nicholas Amon Return-path: Received: from david.siemens.de ([192.35.17.14]:17237 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751296Ab0ASPLl (ORCPT ); Tue, 19 Jan 2010 10:11:41 -0500 In-Reply-To: <4B55C05D.6030408@xceedium.com> Sender: kvm-owner@vger.kernel.org List-ID: Nicholas Amon wrote: > Hi All, > > I am trying to single-step through my kernel using qemu and kvm. I have > run qemu via: qemu-system-x86_64 -s -S -hda > /home/nickamon/lab1/obj/kernel.img and also connected to the process > using gdb. > > Problem is that whenever I try and step instruction, it seems to resume > my kernel rather than allowing me to progress instruction by > instruction. I have built the kvm snapshot from git and still no luck. > Tried following the code for a few hours and have no luck. Any > suggestions? What's you host kernel or kvm-kmod version? Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux