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: Wed, 21 May 2014 17:14:02 +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]:53011 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbaEUROF (ORCPT ); Wed, 21 May 2014 13:14:05 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F8FF20395 for ; Wed, 21 May 2014 17:14:04 +0000 (UTC) Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org [172.20.200.51]) by mail.kernel.org (Postfix) with ESMTP id C73A320377 for ; Wed, 21 May 2014 17:14:02 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=65561 --- Comment #14 from Jatin Kumar --- (In reply to Jidong Xiao from comment #8) > Hi, Jatin, > > "from inside the OS" means from within the Guest OS right? > (In reply to Jatin Kumar from comment #5) Hello Jidong, Yes it means from within guest OS. Sample code block is like this: intr_register_int(1, 3, INTR_OFF, intr_debug_handler_out, "#DB Debug Exception"); asm volatile( "pushfl \n\t" "orl $0x100, (%%esp) \n\t" "popfl \n\t" "nop \n\t" "nop \n\t" "outb %b0, %w1 \n\t" "nop \n\t" <------- Not getting Debug Trap before executing this "nop \n\t" "pushfl \n\t" "xorl $0x100, (%%esp) \n\t" "popfl \n\t" :: "a"(2), "Nd" (80) ); Debug handler simply prints the EIP from interrupt frame and I don't see the EIP of marked instruction. -- You are receiving this mail because: You are watching the assignee of the bug.