acpi-build: mark RAM dirty on table update
commitad5b88b1f198182642b6cbf3dacb4cade0c80fb9
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 17 Nov 2014 05:49:21 +0000 (17 07:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Nov 2014 18:57:10 +0000 (24 20:57 +0200)
tree9a476fecc99c7ac1179cf88af462a3c2bc50a978
parent109e90e47029f415783cd6e9a0eb9d0f10954c18
acpi-build: mark RAM dirty on table update

acpi build modifies internal FW CFG RAM on first access
but we forgot to mark it dirty.
If this RAM has been migrated already, it won't be
migrated again, returning corrupted tables to guest.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/loader.c
hw/i386/acpi-build.c
include/hw/loader.h