From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: hi, all. how can I write msr while in domain0? thanks in advance:) Date: Thu, 26 Apr 2007 09:43:48 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1213524923==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: danielsong , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1213524923== Content-type: multipart/alternative; boundary="B_3260425429_18491772" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3260425429_18491772 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 26/4/07 09:32, "danielsong" 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. > =20 > it seems that the wrmsr didn't get into the emulate_privileged_op() ? > the rdmsr operation is the same as wrmsr:-) That=B9s absolutely the function where RDMSR/WRMSR ends up. Are you looking i= n the right place for the Xen output? VGA is taken over by domain0 by default when it starts to boot. Have you looked at =8Cxm dmesg=B9 output? -- Keir --B_3260425429_18491772 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] hi, all. how can I write msr while in domain0? thank= s in advance:) On 26= /4/07 09:32, "danielsong" <sjtusongyi@gmail.com> wrote:

after searching in xensource web, I found that we can m= odify the emulate_privileged_op() in xen/arch/x86/traps.c
but when add a printk sentence at the beginning of the emulate_privileged_o= p()
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 loo= king 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’ ou= tput?

 -- Keir
--B_3260425429_18491772-- --===============1213524923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1213524923==--