Port ACPI to VMState
commit76dec49f1befded9828bc448fc6bf4de1d1faf00
authorJuan Quintela <quintela@redhat.com>
Thu, 20 Aug 2009 17:42:41 +0000 (20 19:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:30:22 +0000 (27 20:30 -0500)
tree150cb16347a59d13ceadebcc474e3e5d5efc4558
parentcff09e923999e3848cdf3b2dc4e6c595523cddc6
Port ACPI to VMState

This uses a run_after_load() function, and VMSTATE_PCI_DEVICE()
It could be made smaller changing the type of pm_io_space_update()
to return an int.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi.c