From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 65561] KVM:Entry failed on Single stepping sti instruction Date: Sun, 25 May 2014 08:00:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:52739 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbaEYIAu (ORCPT ); Sun, 25 May 2014 04:00:50 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD81B2037A for ; Sun, 25 May 2014 08:00:49 +0000 (UTC) Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org [172.20.200.51]) by mail.kernel.org (Postfix) with ESMTP id 81D892025A for ; Sun, 25 May 2014 08:00:48 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=65561 --- Comment #34 from Jatin Kumar --- (In reply to Jidong Xiao from comment #33) > Jatin, thanks for the clarification. Are you using kgdb to perform single > step kernel code? I am still wondering how did you do the single step > execution for kernel level code. As I mentioned its not a full fledge operating system, just a dummy one. So I just set the DEBUG TRAP flag in eflags before the code section I want to single step and disable it after wards. And in the interrupt handler I have some simple code (say printf) for handling the single step debug interrupt. -- You are receiving this mail because: You are watching the assignee of the bug.