Re: [Qemu-devel] [PATCH 2/9] tests: acpi: use AcpiSdtTable::aml in consistent way

2018-12-20 Thread Igor Mammedov
On Wed, 19 Dec 2018 17:02:36 -0200 Wainer dos Santos Moschetta wrote: > On 12/10/2018 04:10 PM, Igor Mammedov wrote: > > Currently in the 1st case we store table body fetched from QEMU in > > AcpiSdtTable::aml minus it's header but in the 2nd case when we > > load reference aml from disk, it

Re: [Qemu-devel] [PATCH 2/9] tests: acpi: use AcpiSdtTable::aml in consistent way

2018-12-19 Thread Wainer dos Santos Moschetta
On 12/10/2018 04:10 PM, Igor Mammedov wrote: Currently in the 1st case we store table body fetched from QEMU in AcpiSdtTable::aml minus it's header but in the 2nd case when we load reference aml from disk, it holds whole blob including header. More over in the 1st case, we read header in

[Qemu-devel] [PATCH 2/9] tests: acpi: use AcpiSdtTable::aml in consistent way

2018-12-10 Thread Igor Mammedov
Currently in the 1st case we store table body fetched from QEMU in AcpiSdtTable::aml minus it's header but in the 2nd case when we load reference aml from disk, it holds whole blob including header. More over in the 1st case, we read header in separate AcpiSdtTable::header structure and then jump