Re: [Xen-devel] [PATCH v9 05/11] xen: grant_table: implement grant_table_warn_active_grants()

2015-07-24 Thread Jan Beulich
On 16.07.15 at 18:27, vkuzn...@redhat.com wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -3348,6 +3348,41 @@ gnttab_release_mappings( } } +void grant_table_warn_active_grants(struct domain *d) +{ +struct grant_table *gt = d-grant_table; +struct

[Xen-devel] [PATCH v9 05/11] xen: grant_table: implement grant_table_warn_active_grants()

2015-07-16 Thread Vitaly Kuznetsov
Log first 10 active grants for a domain. This function is going to be used for soft reset, active grants on this path usually mean misbehaving backends refusing to release their mappings on shutdown. We need that in addition to the already existent 'g' keyhandler as such misbehaving backends can

Re: [Xen-devel] [PATCH v9 05/11] xen: grant_table: implement grant_table_warn_active_grants()

2015-07-16 Thread Konrad Rzeszutek Wilk
On Thu, Jul 16, 2015 at 06:27:20PM +0200, Vitaly Kuznetsov wrote: Log first 10 active grants for a domain. This function is going to be used for soft reset, active grants on this path usually mean misbehaving backends refusing to release their mappings on shutdown. We need that in addition to