All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Braumann <harry@unheit.net>
To: kvm@vger.kernel.org
Subject: Single-stepping real-mode does not work
Date: Sat, 14 Jul 2012 12:52:47 +0200	[thread overview]
Message-ID: <20120714105247.GA24960@nn.nn> (raw)

(please CC, since I'm not subscribed)

Hi,

trying to debug some BIOS code, but single-stepping through real-mode
doesn't work. It always continues, instead of breaking after the next
instruction. 

So I wanted to know, if there are known issues, or if this is supposed
to work.

CPU: AMD FX
QEMU: latest from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
Linux: latest from
  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

I start QEMU with `qemu-system-x86_64 -S -s', connect gdb and use the
`stepi' command. But instead of executing one instruction and
breaking, it just continues the programme. 

If I start QEMU with `-no-kvm', it works. So the problem seems to be
in the kvm module.

Cheers,
harry

                 reply	other threads:[~2012-07-14 11:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120714105247.GA24960@nn.nn \
    --to=harry@unheit.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.