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 03:03: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]:50067 "EHLO mail.kernel.org"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1751327AbaEYDDv (ORCPT );
Sat, 24 May 2014 23:03:51 -0400
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 7593E2037E
for ; Sun, 25 May 2014 03:03:50 +0000 (UTC)
Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org [172.20.200.51])
by mail.kernel.org (Postfix) with ESMTP id 0304C202AE
for ; Sun, 25 May 2014 03:03:48 +0000 (UTC)
In-Reply-To:
Sender: kvm-owner@vger.kernel.org
List-ID:
https://bugzilla.kernel.org/show_bug.cgi?id=65561
--- Comment #30 from Jidong Xiao ---
Jatin,
I have the following program and I did test the single step for sti command,
(gdb) disas main
Dump of assembler code for function main:
0x08048414 <+0>: push %ebp
0x08048415 <+1>: mov %esp,%ebp
0x08048417 <+3>: and $0xfffffff0,%esp
0x0804841a <+6>: sub $0x10,%esp
=> 0x0804841d <+9>: sti
0x0804841e <+10>: movl $0x8048500,(%esp)
0x08048425 <+17>: call 0x8048350
0x0804842a <+22>: leave
0x0804842b <+23>: ret
End of assembler dump.
(gdb) nexti
Program received signal SIGSEGV, Segmentation fault.
0x0804841d in main ()
(gdb)
And what I have got is a segmentation fault. Since you said you triggered the
bug via a kernel module, how did you do the single step test for a kernel
module?
In the meanwhile I am studying kvm-unit-test, since Paolo said it provides a
single step test platform.
--
You are receiving this mail because:
You are watching the assignee of the bug.