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-users

RE: [Xen-users] hvm_debug option in Xen works ?

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] hvm_debug option in Xen works ?
From: "Ranganathan, Shobha" <shobha.ranganathan@xxxxxxxxx>
Date: Tue, 31 Oct 2006 14:14:41 -0800
Delivery-date: Thu, 02 Nov 2006 13:53:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb9FDo0mpyf3571SsWzewXoSZEXWQAAOaLAAAkkVnA=
Thread-topic: [Xen-users] hvm_debug option in Xen works ?

Thanks for your response

I built xen with

 

Make world XEN_TARGET_X86_PAE=y  debug =y (do I have this correct ??)

Make install

Depmod

Mkinitrd…..

 

I also edited the grub line as  “kernel /xen-3.0.gz hvm_debug=15” (I changed this after your email)

 

No I do not see any messages….

 

 

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ranganathan, Shobha
Sent:
31 October 2006 17:45
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] hvm_debug option in Xen works ?

I edited the line as “kernel /xen-3.0.gz hvm_debug=1”

 

I did not *see* any HVM_DBG_LOG messages .I was of course looking for the ones in “vmx_do_msr_read” function in vmx.c

 

I issued “dmesg” and “xm dmesg” in both guest and host OS. Any ideas  why this is not working? 

 

 

Setting hvm_debug=2 may work better, as the value 1 will only print debug messages at DBG_LEVEL_0 (1 << 0). Or you could set it to 3, to get both the level 0 and level 1 debug output. Or set it to "15" to get "all numbered levels".

 

xm dmesg should show these prints, but of course, it DOES assume that you set the right bit in the level. [Level is a bit weird usage, if the actual selection criteria is a bitmask, but never mind...]

 

--

Mats 

 

 

Regards

Shobha Ranganathan

"The significant challenges we face cannot be resolved at the same level of thinking we were at when we created them." Albert Einstein

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>