[Xen-devel] [PATCH] common/memory: fix an XSM error path

2015-01-12 Thread Jan Beulich
XENMEM_{in,de}crease_reservation as well as XENMEM_populate_physmap return the extent at which failure was detected, not error indicators. Signed-off-by: Jan Beulich --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -747,11 +747,10 @@ long do_memory_op(unsigned long cmd, XEN re

Re: [Xen-devel] [PATCH] common/memory: fix an XSM error path

2015-01-12 Thread Andrew Cooper
On 12/01/15 08:21, Jan Beulich wrote: > XENMEM_{in,de}crease_reservation as well as XENMEM_populate_physmap > return the extent at which failure was detected, not error indicators. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper > > --- a/xen/common/memory.c > +++ b/xen/common/memory.

Re: [Xen-devel] [PATCH] common/memory: fix an XSM error path

2015-01-12 Thread Daniel De Graaf
On 01/12/2015 03:21 AM, Jan Beulich wrote: XENMEM_{in,de}crease_reservation as well as XENMEM_populate_physmap return the extent at which failure was detected, not error indicators. Signed-off-by: Jan Beulich Acked-by: Daniel De Graaf (though I don't think my ack is technically required here