|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 6/8] libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc
On Fri, 2015-03-20 at 10:24 -0400, Boris Ostrovsky wrote:
> On 03/20/2015 09:54 AM, Ian Campbell wrote:
> > On Thu, 2015-03-19 at 17:54 -0400, Boris Ostrovsky wrote:
> >> + if (cputopo) {
> >> + if ((ret = xc_hypercall_bounce_pre(xch, cputopo)))
> > I think this guy will tolerate a NULL here (and on post), so I
> > think/hope you can get away without this conditional stuff. Can you give
> > it a go please.
>
> I'll see if this works. (I can't mentally unwrap all these macros, I'll
> need to test it. Or at least run it through pre-processor)
The important function is xc__hypercall_bounce_pre which handles
b->ubuf==NULL.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |