Re: [Xen-devel] [PATCH v4 7/9] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-03-11 Thread Ian Campbell
On Tue, 2015-03-10 at 13:40 +, Dario Faggioli wrote: > On Mon, 2015-03-09 at 22:27 -0400, Boris Ostrovsky wrote: > > xc_cputopoinfo() is not expected to be used on a hot path and therefore > > hypercall buffer management can be pushed into libxc. This will simplify > > life for callers. > > >

Re: [Xen-devel] [PATCH v4 7/9] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-03-10 Thread Dario Faggioli
On Mon, 2015-03-09 at 22:27 -0400, Boris Ostrovsky wrote: > xc_cputopoinfo() is not expected to be used on a hot path and therefore > hypercall buffer management can be pushed into libxc. This will simplify > life for callers. > > Also update error reporting macros. > > Signed-off-by: Boris Ostro

[Xen-devel] [PATCH v4 7/9] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

2015-03-09 Thread Boris Ostrovsky
xc_cputopoinfo() is not expected to be used on a hot path and therefore hypercall buffer management can be pushed into libxc. This will simplify life for callers. Also update error reporting macros. Signed-off-by: Boris Ostrovsky --- Changes in v4: * Update commit message * Make max_cpus argume