Re: [PATCH 2/3] hw/acpi: Provide function acpi_ghes_present()

2021-06-13 Thread Dongjiu Geng
On Fri, 4 Jun 2021 at 01:13, Peter Maydell wrote: > > Allow code elsewhere in the system to check whether the ACPI GHES > table is present, so it can determine whether it is OK to try to > record an error by calling acpi_ghes_record_errors(). > > (We don't need to migrate the new 'present' field

Re: [PATCH 2/3] hw/acpi: Provide function acpi_ghes_present()

2021-06-03 Thread Richard Henderson
On 6/3/21 10:12 AM, Peter Maydell wrote: Allow code elsewhere in the system to check whether the ACPI GHES table is present, so it can determine whether it is OK to try to record an error by calling acpi_ghes_record_errors(). (We don't need to migrate the new 'present' field in AcpiGhesState,

[PATCH 2/3] hw/acpi: Provide function acpi_ghes_present()

2021-06-03 Thread Peter Maydell
Allow code elsewhere in the system to check whether the ACPI GHES table is present, so it can determine whether it is OK to try to record an error by calling acpi_ghes_record_errors(). (We don't need to migrate the new 'present' field in AcpiGhesState, because it is set once at system