Demon King
2013-May-15 11:26 UTC
How to add something in struct libxl_domain_build_info in xen 4.1.2?
I want to add a struct in libxl_domain_build_info which is belong to libxc. But xen 4.1.2 define libxl_domain_build_info in a strange way: libxl.idl. And use gentype.py to do this job. I don''t know how to modify the libxl.idl. When I add sth in it, compiling error occurred. Can anybody give me a hand? Thank you! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Ian Campbell
2013-May-15 11:33 UTC
Re: How to add something in struct libxl_domain_build_info in xen 4.1.2?
On Wed, 2013-05-15 at 19:26 +0800, Demon King wrote:> I want to add a struct in libxl_domain_build_info which is belong to > libxc.ITYM libxl.> But xen 4.1.2 define libxl_domain_build_info in a strange way: > libxl.idl. And use gentype.py to do this job. I don''t know how to > modify the libxl.idl. When I add sth in it, compiling error occurred. > Can anybody give me a hand? Thank you!The IDL files are python, so you will need to follow python syntax. tools/libxl/idl.txt describes the available types/classes. Perhaps if you share your changes and the resultant error message we can be more helpful. Ian.
Apparently Analagous Threads
- [PATCH v1 01/02] HVM firmware passthrough libxl support
- [PATCH] libxl: do not overwrite user supplied config when running bootloader
- libxl build failure in latest xen
- [PATCH 0 of 2] libxl: add libxl_domain_config_init
- [PATCH] libxl: use named options for tsc_mode