pc: use new api to add builtin tables
At this point the only builtin table we have is the DSDT used for Q35. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
60de1163d5
commit
1a4b2666df
@ -1114,7 +1114,7 @@ void pc_acpi_init(const char *default_dsdt)
|
|||||||
opts = qemu_opts_parse(qemu_find_opts("acpi"), arg, 0);
|
opts = qemu_opts_parse(qemu_find_opts("acpi"), arg, 0);
|
||||||
g_assert(opts != NULL);
|
g_assert(opts != NULL);
|
||||||
|
|
||||||
acpi_table_add(opts, &err);
|
acpi_table_add_builtin(opts, &err);
|
||||||
if (err) {
|
if (err) {
|
||||||
error_report("WARNING: failed to load %s: %s", filename,
|
error_report("WARNING: failed to load %s: %s", filename,
|
||||||
error_get_pretty(err));
|
error_get_pretty(err));
|
||||||
|
Loading…
Reference in New Issue
Block a user