Boris Ostrovsky writes ("Re: [PATCH v3 18/19] libxl/acpi: Build ACPI tables for HVMlite guests"): > On 09/09/2016 04:05 AM, Jan Beulich wrote: > > struct libxl_acpi_ctxt { > > struct acpi_ctxt ctxt; > > ... > > }; > > > > though, together with whatever equivalent to container_of() exists > > in libxl. > > Yes, this is better. I don't see it defined in libxl but I can define > one myself.
It's called CONTAINER_OF. See tools/libxl/CODING_STYLE, and/or the output of something like `git grep -i contain tools/libxl'. Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel