From: Keir Fraser <keir@xensource.com>
To: danielsong <sjtusongyi@gmail.com>, xen-devel@lists.xensource.com
Subject: Re: hi, all. how can I write msr while in domain0? thanks in advance:)
Date: Thu, 26 Apr 2007 09:43:48 +0100 [thread overview]
Message-ID: <C25624D4.DF08%keir@xensource.com> (raw)
In-Reply-To: <e2a5d9ae0704260132x4efdb67eg652ae43dcc40e8ca@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 673 bytes --]
On 26/4/07 09:32, "danielsong" <sjtusongyi@gmail.com> wrote:
> after searching in xensource web, I found that we can modify the
> emulate_privileged_op() in xen/arch/x86/traps.c
> but when add a printk sentence at the beginning of the emulate_privileged_op()
> I didn't get the output using dmesg | tail.
>
> it seems that the wrmsr didn't get into the emulate_privileged_op() ?
> the rdmsr operation is the same as wrmsr:-)
That¹s absolutely the function where RDMSR/WRMSR ends up. Are you looking in
the right place for the Xen output? VGA is taken over by domain0 by default
when it starts to boot. Have you looked at xm dmesg¹ output?
-- Keir
[-- Attachment #1.2: Type: text/html, Size: 1181 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2007-04-26 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 8:32 hi, all. how can I write msr while in domain0? thanks in advance:) danielsong
2007-04-26 8:43 ` Keir Fraser [this message]
2007-04-26 17:16 ` Luke S. Crawford
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=C25624D4.DF08%keir@xensource.com \
--to=keir@xensource.com \
--cc=sjtusongyi@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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.