summaryrefslogtreecommitdiff
path: root/hw/i386/acpi-build.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-02-17 10:04:40 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-02-26 12:42:20 +0100
commit384fb32ea7984ed6e5fdcea0bbc3d5b01238806b (patch)
tree2e9527e6803fd8626dee16c3cc54cdaec195c879 /hw/i386/acpi-build.c
parent42d859001d180ea788aa2d34a7be021ac8c447f2 (diff)
downloadqemu-384fb32ea7984ed6e5fdcea0bbc3d5b01238806b.zip
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>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r--hw/i386/acpi-build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 031f88d5ca..409229f602 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -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