On 06/18/2015 09:46 PM, Abhinav Gupta wrote:
> Thanks for the reply Razvan, but I meant how will i test my code, when I
> make some changes ?

Well, like any piece of software, you check to see that your changes do
what they're supposed to do by running your modified Xen with a relevant
test scenario. I'm afraid your question is too generic to be answered
more precisely than that.

As for debugging, you can sprinkle your code with printk()s and see
which codepath is chosen, and so on. You should then be able to see the
output by running something like 'xl dmesg'.

You can also check out these resources:

http://www-archive.xenproject.org/files/xensummit_intel09/xen-debugging.pdf

http://wiki.xenproject.org/wiki/Debugging_Xen


HTH,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to