qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com>
To: qemu-devel@nongnu.org
Cc: kohler@cs.ucla.edu
Subject: Re: [Qemu-devel] [Patch] x86 breakpoints and memory examination
Date: Mon, 14 Jan 2008 12:20:38 +0700	[thread overview]
Message-ID: <f284c33d0801132120o395d22bbl2d138460d88c3ab4@mail.gmail.com> (raw)
In-Reply-To: <478A50F1.4050400@cs.ucla.edu>

Hi..

> The following patch is useful for whole-system mode debugging and breakpoint
> setting on i386 QEMU.  It seems like both breakpoints and memory examination
> used semi-physical addresses, in that neither took account of segment
> translation.  This patch (relative to 0.9.1) adds segment translation.
>
> I'm not sure this is the right way to do it (in fact, I'm sure that the memory
> examination patch is the WRONG way to do it) and would appreciate pointers or
> advice.

I believe (IIRC) jasson wessel had fixed such problem about a year
ago..but I agree that it seems qemu doesn't take segmentation into
account (zero based segment start address, like most OS does these
days I think). In this case, i think your patch does the right thing.

regards,

Mulyadi.

      reply	other threads:[~2008-01-14  5:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-13 17:57 [Qemu-devel] [Patch] x86 breakpoints and memory examination Eddie Kohler
2008-01-14  5:20 ` Mulyadi Santosa [this message]

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=f284c33d0801132120o395d22bbl2d138460d88c3ab4@mail.gmail.com \
    --to=mulyadi.santosa@gmail.com \
    --cc=kohler@cs.ucla.edu \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).