]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: update RSDP on guest access
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 9 Feb 2015 13:59:53 +0000 (13:59 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 11:42:19 +0000 (12:42 +0100)
commitd70414a5788c3d51f8ce4d2f437e669e6b99dc59
tree4e47e2cac97304f8108de3a2a68377113e875153
parentf2c385220598523c8b9fefbfff1a6754cfd8232a
acpi: update RSDP on guest access

RSDT offset can change across reboots and that makes
immutable RSDP, which is build at startup, point to
incorrect place in ACPI table blob. That results in
BIOS corrupting tables and guest OS failing to find
ACPI tables.
We really should have put it in a ROM region, but
we can't change that for old machine types,
let's just set the callback and update it explicitly.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/i386/acpi-build.c