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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to