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

Re: [Xen-devel] [PATCH] xen: restore GNTTABOP_dump_table



On 16/11/12 15:52, David Vrabel wrote:
> On 19/10/12 16:47, Roger Pau Monne wrote:
>> This operation was dropped long time ago, but I found it quite helpful
>> for debugging purposes. This re-implementation uses the code already
>> present in gnttab_usage_print and adds the maptrack-table dump.
> 
> Why is the operation useful?  Isn't the debug key sufficient?

The debug key doesn't print the maptrack, and also I found it quite
useful to be able to call this from the guest kernel itself at certain
specific points (like before and after cleaning the list of persistent
grants), which is not possible when using the debug key.

> # xl debug-key g
> (XEN) gnttab_usage_print_all [ key 'g' pressed
> (XEN)       -------- active --------       -------- shared --------
> (XEN) [ref] localdom mfn      pin          localdom gmfn     flags
> (XEN) grant-table for remote domain:    0 ... no active grant table entries
> (XEN) gnttab_usage_print_all ] done
> 
> David
> 


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


 


Rackspace

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