WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] hi, all. how can I write msr while in domain0? thanks in

To: danielsong <sjtusongyi@xxxxxxxxx>
Subject: Re: [Xen-devel] hi, all. how can I write msr while in domain0? thanks in advance:)
From: "Luke S. Crawford" <lsc@xxxxxxxxx>
Date: Thu, 26 Apr 2007 10:16:28 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 26 Apr 2007 10:15:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e2a5d9ae0704260132x4efdb67eg652ae43dcc40e8ca@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e2a5d9ae0704260132x4efdb67eg652ae43dcc40e8ca@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 26 Apr 2007, 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.


I'm pretty sure you want

xm dmesg

(run it from within the Dom0 as root)

dmesg just gives you the linux kernel log, while it sounds like you want the Xen kernel log.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>