[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: write IO ABI for disk frontends



On Wed, 2013-04-24 at 10:08 +0100, Roger Pau Monnà wrote:
> On 23/04/13 22:25, Wei Liu wrote:
> > +#if defined (__i386__) || (__x86_64__)
> 
> I would prefer to get the guest type (x86 or arm) from libxc if possible
> and use that instead of a define, different compilers tend to have
> different names for this macros.

By pushing the logic down into libxc we can put the implementation in
xc_dom_x86.c and a stub in xc_dom_arm.c and get this behaviour without
the ifdefs.

Ian.


_______________________________________________
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®.