pc: acpi-build: migrate RSDP table
commit358774d780ee8f91429323f44bef1f53afa448bf
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Feb 2015 13:59:55 +0000 (9 13:59 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 11:42:19 +0000 (26 12:42 +0100)
tree832072aeebea2715d337fad9dd1cef380d901c2b
parent6e00619b1eb2050bf2c75d52edfe7b4566704922
pc: acpi-build: migrate RSDP table

Makes sure that RSDP stays the same
/i.e. matches ACPI tables blob in source/
if guest is migrated during RSDP reading or
has been already shadowed by firmware.

Fix applies only to new machine types starting
from 2.3, so it won't break migration for old
machine types.

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
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h