[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 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)

-boris


The rest looked ok.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.