On 09/09/2016 09:50 AM, Ian Jackson wrote: > 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'.
Ah, thanks. I haven't thought of running git grep. -boris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel