>>> On 22.01.18 at 13:32, <jgr...@suse.com> wrote:
> show_guest_stack() and compat_show_guest_stack() stop dumping the
> stack of the guest whenever its virtual address reaches the same
> alignment which is used for the hypervisor stacks.
> 
> Remove this arbitrary limit and try to dump a fixed number of lines
> instead.

Hmm, I can see your point, but before looking at the change in detail
I think we need to agree on what behavior we want. Dumping
arbitrary data as if it was a part of the stack isn't very helpful, limiting
the risk of which is, I think, the reason for the way things currently
work (assuming that guest kernels won't have stacks larger than Xen
itself, and that they too would align them). What would perhaps be
better is for the guest to supply information about the restrictions it
enforces on its stacks, which Xen could then use here. In the
absence of such hints using the values currently being used would
possibly make sense.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to