|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: arch-specific xc.c code?
On 31/8/06 8:08 pm, "Hollis Blanchard" <hollisb@xxxxxxxxxx> wrote:
>> I'd like the xc object to be a direct reflection of what's in libxenguest and
>> libxenctrl, so if you've got an arch-specific #ifdef that puts this function
>> into libxc, then yes, just using that would be fine. (I don't see that
>> function in my tree, so I can't see for myself which library it ends up in).
>
> Yeah, I'm adding that function to libxc but wasn't sure how to modify
> xc.c to expose it. In libxc, whole files are conditionally built (so
> technically no ifdef is used), but I will add an ifdef to xc.c. Thanks.
It'd be nice to have arch-specific files/directories for the Python wrapper
too, if that's not too much hassle. An arch-specific file that exported an
arch-specific python object that gets attached to the main xc object with
name 'arch' would be kind of neat (so that you get at arch-specific
functions as e.g., xc.arch.alloc_real(...), making the arch-specific calls
immediately obvious).
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|