[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen Debugging through Lauterbach on ARMv8


Thanks a lot. I have been able to debug the Xen Hypervisor on ARMv8 via 

Best regards
From: Volodymyr Babchuk <vlad.babchuk@xxxxxxxxx>
Sent: Wednesday, May 10, 2017 3:53 PM
To: Julien Grall
Cc: Waseem, Amna; xen-users@xxxxxxxxxxxxx; Stefano Stabellini
Subject: Re: [Xen-users] Xen Debugging through Lauterbach on ARMv8

Hello Amna, Julien,

> Volodymyr seems to have used Lauterbach with Xen. I have CCed to know if he
> can share some details.
Sorry, I missed this message in the ML.

Actually, it is pretty straightforward. I can't share my full script
due to NDA, but idea is following:

1) Attach to already booted board. You need to configure Trace32 to
not to reset board after attach:
SYStem.Option.EnReset off

2) Break system while in Hypervisor mode. Just break and check CPU
state register. If it is in EL0/EL1 - try again

3) Load symbols:
SYStem.Option ZoneSPACES ON
Data.LOAD.Elf /home/lorc/work/...../xen/xen-syms /NoCODE /RELOC .text
AT H:0x200000

And that's all.

Debugging hypervisor itself is not a problem. Problem is to debug
multiple guests at the same time. Lauterbach promises to add such
feature, but it is not completed yet.

WBR Volodymyr Babchuk aka lorc [+380976646013]
mailto: vlad.babchuk@xxxxxxxxx

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.