Hypercall tracing in Xen Linux box
All xm tool command internally invoke hypercalls?
To find out what are all the hypercalls will be invoked when i used xm tools ( xm list,xm create ....etc),
I just included "printk" message in all the hypercall functions and executed xm list, xm create command, but there was no printk message in "/var/log/messages" and dmesg output. Any idea pls?
Thanks in Advance
Quoted 45 lines
----- Original Message -----
From: "Viswanath Thangamuthu" <[email protected]>
To: "Jun Koi" <[email protected]>
Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box
Date: Wed, 9 Jul 2008 11:01:29 +0230Quoted 18 lines
----- Original Message -----
From: "Jun Koi" <[email protected]>
To: "Viswanath Thangamuthu" <[email protected]>
Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box
Date: Wed, 9 Jul 2008 16:33:26 +0900Quoted 3 lines · Viswanath Thangamuthu
Hi,
Is there a way to find out which hypercall will beinvoked > when xm tools are used. For example, if we execute "xm list" > what would be the hypercall will be invoked? . I am looking for a > Linux tool in the user space which gives the similar behaviour > and output as DTRACE in solaris >
http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma .Quoted 3 lines
Sounds interesting, but what is good about that? I mean why do you want to know which hypercalls are invoked? Debugging or something else?
Mainly for debugging.
Is there any xen tool/documentation which provides all these details?.Quoted 5 lines
Thanks,
Jun--
_______________________________________________
Visitor Medical Insurance for visitors to USA from
http://www.buyamericaninsurance.com/?affiliateid=oneindia
Quoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Regards,
Viswa
Signature · 2 lines
_______________________________________________ Visitor Medical Insurance for visitors to USA from http://www.buyamericaninsurance.com/?affiliateid=oneindia
Quoted 7 lines · Viswanath Thangamuthu
All xm tool command internally invoke hypercalls?
To find out what are all the hypercalls will be invoked when i used xm tools ( xm list,xm create ....etc), I just included "printk" message in all the hypercall functions and executed xm list, xm create command, but there was no printk message in "
/var/log/messages" and dmesg output. Any idea pls?
Have you looked in "xm dmesg", which contains hypervisor output?
Also, not all xm commands necessarily cause hypercalls to be invoked. xm just talks to Xend and Xend does the hypercalls. For some operations Xend doesn't need to do any hypercalls and can return to xm directly. Just so you know...
Cheers,
Mark
Quoted 49 lines
Thanks in Advance
Quoted 40 lines
----- Original Message -----
From: "Viswanath Thangamuthu" <[email protected]>
To: "Jun Koi" <[email protected]>
Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box
Date: Wed, 9 Jul 2008 11:01:29 +0230Quoted 19 lines
----- Original Message -----
From: "Jun Koi" <[email protected]>
To: "Viswanath Thangamuthu" <[email protected]>
Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box
Date: Wed, 9 Jul 2008 16:33:26 +0900On Wed, Jul 9, 2008 at 3:30 PM, Viswanath Thangamuthu
Quoted 2 lines · <[email protected]> wrote:
Hi,
Is there a way to find out which hypercall will beinvoked > when xm tools are used. For example, if we execute "xm list" > what would be the hypercall will be invoked? . I am looking for a > Linux tool in the user space which gives the similar behaviour > and output as DTRACE in solaris >
http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma .Quoted 3 lines
Sounds interesting, but what is good about that? I mean why do you want to know which hypercalls are invoked? Debugging or something else?
Mainly for debugging.
Is there any xen tool/documentation which provides all these details?.Quoted 2 lines
Thanks,
Jun--
_______________________________________________
Visitor Medical Insurance for visitors to USA from
http://www.buyamericaninsurance.com/?affiliateid=oneindiaQuoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-develRegards,
Viswa
Signature · 1 line
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)
Quoted 5 lines · Viswanath Thangamuthu
All xm tool command internally invoke hypercalls?
To find out what are all the hypercalls will be invoked when i used xm tools ( xm list,xm create ....etc),
I just included "printk" message in all the hypercall functions and executed xm list, xm create command, but there was no printk message in "/var/log/messages" and dmesg output. Any idea pls?
use xm dmesg....
the printk's in hypervisor gets stored in the i/o ring buffer, it has to be explicitly read from the userspace,
or if you have a console attached to the serial port of your machine then all the printk's appears on the serial console automatically. For this you have to give "console=com1,vga com1=115200,8n1" as command line argument for the hypervisor image "xen.gz"
Quoted 56 lines
Thanks in Advance
Quoted 45 lines
----- Original Message -----
From: "Viswanath Thangamuthu" <[email protected]>
To: "Jun Koi" <[email protected]>
Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box
Date: Wed, 9 Jul 2008 11:01:29 +0230Quoted 18 lines
----- Original Message -----
From: "Jun Koi" <[email protected]>
To: "Viswanath Thangamuthu" <[email protected]>
Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box
Date: Wed, 9 Jul 2008 16:33:26 +0900Quoted 3 lines · Viswanath Thangamuthu
Hi,
Is there a way to find out which hypercall will beinvoked > when xm tools are used. For example, if we execute "xm list" > what would be the hypercall will be invoked? . I am looking for a > Linux tool in the user space which gives the similar behaviour > and output as DTRACE in solaris >
http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma .Quoted 3 lines
Sounds interesting, but what is good about that? I mean why do you want to know which hypercalls are invoked? Debugging or something else?
Mainly for debugging.
Is there any xen tool/documentation which provides all these details?.Quoted 5 lines
Thanks,
Jun--
_______________________________________________
Visitor Medical Insurance for visitors to USA from
http://www.buyamericaninsurance.com/?affiliateid=oneindiaQuoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 4 lines
Regards,
Viswa
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com