Re: [PATCH 2/3] tools/libxl: Correctly aligned buffer for ACPI tables

2021-09-10 Thread Jan Beulich
On 09.09.2021 18:34, Kevin Stefanov wrote: > The pointer resulting from libxl__malloc() has no explicit alignment. > As an implementation detail, it has 16-byte alignment. But the buffers obtained via libxl__malloc() have no association with guest address space layout (or at least they aren't supp

[PATCH 2/3] tools/libxl: Correctly aligned buffer for ACPI tables

2021-09-09 Thread Kevin Stefanov
The pointer resulting from libxl__malloc() has no explicit alignment. As an implementation detail, it has 16-byte alignment. When this buffer is used by libacpi aligning ACPI tables to greater than 16 does not work correctly. This causes the FACS to not be 64-byte aligned when the ACPI tables are