From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH] xen: restore GNTTABOP_dump_table Date: Fri, 16 Nov 2012 14:52:40 +0000 Message-ID: <50A65338.2050002@citrix.com> References: <1350661627-20775-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1350661627-20775-1-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? # 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