Re: [Xen-devel] [PATCH 1/2] x86: separate out sanitize_e820_map return codes

2014-10-14 Thread Martin Kelly
On 10/14/2014 02:33 AM, David Vrabel wrote: > On 14/10/14 03:30, Martin Kelly wrote: >> Previously, sanitize_e820_map returned -1 in all cases in which it did >> nothing. However, sanitize_e820_map can do nothing either because the >> input map has size 1 (this is ok) or because the input map

Re: [Xen-devel] [PATCH 1/2] x86: separate out sanitize_e820_map return codes

2014-10-14 Thread David Vrabel
On 14/10/14 03:30, Martin Kelly wrote: > Previously, sanitize_e820_map returned -1 in all cases in which it did > nothing. However, sanitize_e820_map can do nothing either because the > input map has size 1 (this is ok) or because the input map passed in is > invalid (likely an issue). It is nice

Re: [Xen-devel] [PATCH 1/2] x86: separate out sanitize_e820_map return codes

2014-10-14 Thread David Vrabel
On 14/10/14 03:30, Martin Kelly wrote: Previously, sanitize_e820_map returned -1 in all cases in which it did nothing. However, sanitize_e820_map can do nothing either because the input map has size 1 (this is ok) or because the input map passed in is invalid (likely an issue). It is nice for

Re: [Xen-devel] [PATCH 1/2] x86: separate out sanitize_e820_map return codes

2014-10-14 Thread Martin Kelly
On 10/14/2014 02:33 AM, David Vrabel wrote: On 14/10/14 03:30, Martin Kelly wrote: Previously, sanitize_e820_map returned -1 in all cases in which it did nothing. However, sanitize_e820_map can do nothing either because the input map has size 1 (this is ok) or because the input map passed in