All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] x86 MTRR access dumping
Date: Sun, 23 Nov 2008 02:26:13 +0100	[thread overview]
Message-ID: <4928B135.9020508@gmx.net> (raw)
In-Reply-To: <4927288D.3050707@gmx.net>

On 21.11.2008 22:30, Carl-Daniel Hailfinger wrote:
> Some x86 BIOS and lots of x86 operating systems use MSRs not currently
> implemented in Qemu. The most notable unimplemented MSRs are the MTRRs
> (Memory Type Range Registers). This patch against latest svn dumps any
> accesses to unhandled MSRs and decodes the MTRR accesses.
>
> I used this code to check MTRR accesses of coreboot (a replacement
> firmware for x86 BIOS) inside qemu and the patch works fine.
>
> Of course, writing these MTRRs should be persistent, so their state
> needs to be saved somehow.
>
> I thought I'd post my current code and ask for comments before I continue.
> Any comments on coding style, technical restrictions and other stuff are
> appreciated.
>   

Sample output from a recent ReactOS boot:
Unhandled MSR 0x0000008b was written: 0x0000000000000000
Unhandled MSR 0x0000008b was read

Regards,
Carl-Daniel
-- 

http://www.hailfinger.org/

      reply	other threads:[~2008-11-23  1:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 21:30 [Qemu-devel] [PATCH] x86 MTRR access dumping Carl-Daniel Hailfinger
2008-11-23  1:26 ` Carl-Daniel Hailfinger [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=4928B135.9020508@gmx.net \
    --to=c-d.hailfinger.devel.2006@gmx.net \
    --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 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.