qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: "Jan Kiszka" <jan.kiszka@siemens.com>,
	qemu-devel@nongnu.org, "Zeus Gómez Marmolejo" <zeus@aluzina.org>
Subject: Re: [Qemu-devel] Physical address debugging
Date: Wed, 31 Aug 2011 08:20:38 +0300	[thread overview]
Message-ID: <4E5DC4A6.9040302@redhat.com> (raw)
In-Reply-To: <CAAu8pHsVYLKtCYf6KpWetsYf-FvxO0hMhmYQpOU6Kc4sCMjJtg@mail.gmail.com>

On 08/30/2011 09:31 PM, Blue Swirl wrote:
> >>
> >>  Since KVM can handle MMIO, I think it should also be able to handle
> >>  watchpoints.
> >>
> >
> >  Not on RAM areas.
>
> But isn't it possible to unmap one page of RAM and replace that by
> MMIO page on KVM, is this because of the memory slots?

It is possible.  Currently kvm won't execute code from mmio, but that's 
easy to fix.  Of course, the kvm instruction emulator isn't 100% 
complete (or even close, when considering vector extensions).

> Does your
> memory work help?

It does, you an add an overlay page and then remove it when done.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

      reply	other threads:[~2011-08-31  5:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 14:21 [Qemu-devel] Physical address debugging Zeus Gómez Marmolejo
2011-08-26 14:41 ` Jan Kiszka
2011-08-26 17:34   ` Blue Swirl
2011-08-26 17:55     ` Jan Kiszka
2011-08-26 18:02       ` Blue Swirl
2011-08-26 18:12         ` Jan Kiszka
2011-08-28 21:42           ` Zeus Gómez Marmolejo
2011-08-29 12:45             ` Lluís
2011-08-29 12:49     ` Avi Kivity
2011-08-30 18:31       ` Blue Swirl
2011-08-31  5:20         ` Avi Kivity [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=4E5DC4A6.9040302@redhat.com \
    --to=avi@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@nongnu.org \
    --cc=zeus@aluzina.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).