[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 4/6] ACPI ERST: create ACPI ERST table for pc/x86 machines.
From: |
Eric DeVolder |
Subject: |
[PATCH v4 4/6] ACPI ERST: create ACPI ERST table for pc/x86 machines. |
Date: |
Fri, 11 Jun 2021 14:31:21 -0400 |
This change exposes ACPI ERST support for x86 guests.
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
---
hw/i386/acpi-build.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index de98750..d8cae69 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -43,6 +43,7 @@
#include "sysemu/tpm.h"
#include "hw/acpi/tpm.h"
#include "hw/acpi/vmgenid.h"
+#include "hw/acpi/erst.h"
#include "hw/boards.h"
#include "sysemu/tpm_backend.h"
#include "hw/rtc/mc146818rtc_regs.h"
@@ -2388,6 +2389,10 @@ void acpi_build(AcpiBuildTables *tables, MachineState
*machine)
ACPI_DEVICE_IF(x86ms->acpi_dev), x86ms->oem_id,
x86ms->oem_table_id);
+ acpi_add_table(table_offsets, tables_blob);
+ build_erst(tables_blob, tables->linker,
+ x86ms->oem_id, x86ms->oem_table_id);
+
vmgenid_dev = find_vmgenid_dev();
if (vmgenid_dev) {
acpi_add_table(table_offsets, tables_blob);
--
1.8.3.1
- [PATCH v4 0/6] acpi: Error Record Serialization Table, ERST, support for QEMU, Eric DeVolder, 2021/06/11
- [PATCH v4 2/6] ACPI ERST: header file for ERST, Eric DeVolder, 2021/06/11
- [PATCH v4 1/6] ACPI ERST: bios-tables-test.c steps 1 and 2, Eric DeVolder, 2021/06/11
- [PATCH v4 4/6] ACPI ERST: create ACPI ERST table for pc/x86 machines.,
Eric DeVolder <=
- [PATCH v4 3/6] ACPI ERST: support for ACPI ERST feature, Eric DeVolder, 2021/06/11
- [PATCH v4 6/6] ACPI ERST: step 6 of bios-tables-test.c, Eric DeVolder, 2021/06/11
- [PATCH v4 5/6] ACPI ERST: qtest for ERST, Eric DeVolder, 2021/06/11
- Re: [PATCH v4 0/6] acpi: Error Record Serialization Table, ERST, support for QEMU, Igor Mammedov, 2021/06/22