Skip to contentSkip to conversation

Hypervisor Debugging GDB, KDB

DISCUSSION Jan Ruh 2 participants 2 messages Mar 14, 2019 – Mar 15, 2019

lore
Share & tools
lore

Jan Ruh

author
#0 lore raw

Dear Xen Developer mailing list,

I have been looking for detailed Information about the current status of Xen hypervisor debugging. I checked the mailing list (questions mostly unanswered or outdated), the repositories, and several search engine without a satisfying answer to my question. Is there any way of single stepping Xen hypervisor as we usually do, e.g., with the Linux kernel using gdb and kdb over serial port? If so can you give me a hint where to find this information, furthermore it might be good to make this information easily accessible for newcomers in Xen development.

Best,

Jan Ruh
CONFIDENTIALITY: The contents of this e-mail are confidential and intended only for the above addressee(s). If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, copying or delivering it to anyone else or using it in any unauthorized manner is prohibited and may be unlawful. If you receive this e-mail by mistake, please notify the sender and the systems administrator at [email protected] immediately.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#1 lore raw
Quoted 3 lines · Jan Ruh

Dear Xen Developer mailing list,

I have been looking for detailed Information about the current status of Xen hypervisor debugging. I checked the mailing list (questions mostly unanswered or outdated), the repositories, and several search engine without a satisfying answer to my question. Is there any way of single stepping Xen hypervisor as we usually do, e.g., with the Linux kernel using gdb and kdb over serial port? If so can you give me a hint where to find this information, furthermore it might be good to make this information easily accessible for newcomers in Xen development.

There is a GDB stub, which can be compiled in with CONFIG_CRASH_DEBUG, and you can configure debugging over the serial.

See
https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html#console
for instructions.

Whether this works or not is a different matter.  I'm not sure if anyone actually uses it at all.

Quoted 1 line

CONFIDENTIALITY: The contents of this e-mail are confidential and intended only for the above addressee(s). If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, copying or delivering it to anyone else or using it in any unauthorized manner is prohibited and may be unlawful. If you receive this e-mail by mistake, please notify the sender and the systems administrator at [email protected] immediately.

You do realise you've just broadcast this email to the whole world?

Emails sent to public open source mailing lists shouldn't contain such disclaimer.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel