Re: [Xen-devel] [PATCH XEN v6 14/32] tools: Remove xc_map_foreign_batch

2015-12-11 Thread George Dunlap
On Fri, Dec 11, 2015 at 3:42 PM, Ian Campbell wrote: > On Thu, 2015-12-10 at 15:21 +, George Dunlap wrote: >> On 03/12/15 11:22, Ian Campbell wrote: >> > It can trivially be replaced by xc_map_foreign_pages which is the >> > interface I want to move to going forward (by standardising on _bulk

Re: [Xen-devel] [PATCH XEN v6 14/32] tools: Remove xc_map_foreign_batch

2015-12-11 Thread Ian Campbell
On Thu, 2015-12-10 at 15:21 +, George Dunlap wrote: > On 03/12/15 11:22, Ian Campbell wrote: > > It can trivially be replaced by xc_map_foreign_pages which is the > > interface I want to move to going forward (by standardising on _bulk > > but handling err=NULL as _pages does). > > > > The cal

Re: [Xen-devel] [PATCH XEN v6 14/32] tools: Remove xc_map_foreign_batch

2015-12-10 Thread George Dunlap
On 03/12/15 11:22, Ian Campbell wrote: > It can trivially be replaced by xc_map_foreign_pages which is the > interface I want to move to going forward (by standardising on _bulk > but handling err=NULL as _pages does). > > The callers of _batch are checking a mixture of a NULL return or > looking

Re: [Xen-devel] [PATCH XEN v6 14/32] tools: Remove xc_map_foreign_batch

2015-12-09 Thread Wei Liu
On Thu, Dec 03, 2015 at 11:22:11AM +, Ian Campbell wrote: > It can trivially be replaced by xc_map_foreign_pages which is the > interface I want to move to going forward (by standardising on _bulk > but handling err=NULL as _pages does). > > The callers of _batch are checking a mixture of a NU

[Xen-devel] [PATCH XEN v6 14/32] tools: Remove xc_map_foreign_batch

2015-12-03 Thread Ian Campbell
It can trivially be replaced by xc_map_foreign_pages which is the interface I want to move to going forward (by standardising on _bulk but handling err=NULL as _pages does). The callers of _batch are checking a mixture of a NULL return or looking to see if the top nibble of the (usually sole) mfn