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 07:48:17 +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]:52507 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbaEYHsU (ORCPT ); Sun, 25 May 2014 03:48:20 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4864C20386 for ; Sun, 25 May 2014 07:48:19 +0000 (UTC) Received: from bugzilla2.web.kernel.org (bugzilla2.web.kernel.org [172.20.200.52]) by mail.kernel.org (Postfix) with ESMTP id B2B8F202C8 for ; Sun, 25 May 2014 07:48:17 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=65561 --- Comment #32 from Jatin Kumar --- (In reply to Jidong Xiao from comment #29) > Okay, I will try the sti instruction. > > Jatin, since your title says that there is something wrong with the sti > instruction, but looking at your sample code, it does not include a sti > instruction, and all you were talking about is the "out" instruction. So you > are reporting two different problems or it's just one problem? Hello Jidong, I am sorry for the confusion. Yes these are two independent problems. 1. Single stepping an STI instruction (which as you said is already fixed) 2. Single stepping an OUT instruction, which works but causes the next instruction to be executed without debug trap. I am developing a small OS which runs in kernel mode most of the time and I need to single step the code to a particular point in execution. -- You are receiving this mail because: You are watching the assignee of the bug.