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: Sat, 24 May 2014 05:43:33 +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]:33284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbaEXFng (ORCPT ); Sat, 24 May 2014 01:43:36 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8CB57203F4 for ; Sat, 24 May 2014 05:43:35 +0000 (UTC) Received: from bugzilla2.web.kernel.org (bugzilla2.web.kernel.org [172.20.200.52]) by mail.kernel.org (Postfix) with ESMTP id 20A7B203E3 for ; Sat, 24 May 2014 05:43:34 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=65561 --- Comment #21 from Jatin Kumar --- The way I would approach this problem is to first check if there is a VM_EXIT while executing this instruction. You should be able to find that in vmx_vcpu_run() function (I guess in KVM code). Put a printk there and print the instruction as well which caused VM_EXIT. Futher you should try to investigate if the control flow is trying to emulate this instruction and then your printk's should be triggered. CAUTION: I haven't spent much time digging KVM code, but I am confident about the VM_EXIT part. Still after putting in some effort, you may want to wait for Paolo's reply :) -- You are receiving this mail because: You are watching the assignee of the bug.