mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
acpi: has_immutable_rsdp->!rsdp_in_ram
As comment in acpi-build.c notes, RSDP is not really immutable. So it's really a question of whether it's in RAM, name the variable accordingly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
This commit is contained in:
parent
42d859001d
commit
384fb32ea7
4 changed files with 8 additions and 8 deletions
|
@ -1653,7 +1653,7 @@ void acpi_setup(PcGuestInfo *guest_info)
|
|||
fw_cfg_add_file(guest_info->fw_cfg, ACPI_BUILD_TPMLOG_FILE,
|
||||
tables.tcpalog->data, acpi_data_len(tables.tcpalog));
|
||||
|
||||
if (guest_info->has_immutable_rsdp) {
|
||||
if (!guest_info->rsdp_in_ram) {
|
||||
/*
|
||||
* Keep for compatibility with old machine types.
|
||||
* Though RSDP is small, its contents isn't immutable, so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue