mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
ACPI ERST: create ACPI ERST table for pc/x86 machines
This change exposes ACPI ERST support for x86 guests. Signed-off-by: Eric DeVolder <eric.devolder@oracle.com> Reviewed-by: Ani Sinha <ani@anisinha.ca> Message-Id: <1643402289-22216-8-git-send-email-eric.devolder@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
c9cd06ca00
commit
8486f12f0b
3 changed files with 35 additions and 0 deletions
|
@ -16,4 +16,9 @@ void build_erst(GArray *table_data, BIOSLinker *linker, Object *erst_dev,
|
|||
|
||||
#define TYPE_ACPI_ERST "acpi-erst"
|
||||
|
||||
/* returns NULL unless there is exactly one device */
|
||||
static inline Object *find_erst_dev(void)
|
||||
{
|
||||
return object_resolve_path_type("", TYPE_ACPI_ERST, NULL);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue