Michael S. Tsirkin 9ac1c4c07e acpi: fix tables for no-hpet configuration
acpi build tried to add offset of hpet table to rsdt even when hpet was
disabled.  If no tables follow hpet, this could lead to a malformed
rsdt.

Fix it up.

To avoid such errors in the future, rearrange code slightly to make it
clear that acpi_add_table stores the offset of the following table - not
of the previous one.

Reported-by: TeLeMan <geleman@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: qemu-stable@nongnu.org
2014-05-07 12:13:42 +03:00
..
2014-04-29 10:46:29 +02:00
2014-04-22 12:00:20 +02:00
2014-04-07 14:51:32 +01:00
2014-04-28 11:03:32 +02:00
2014-04-18 10:33:36 +04:00
2014-05-02 11:32:00 +01:00
2014-04-28 13:43:17 +01:00
2014-03-31 19:53:34 +01:00
2014-04-02 13:24:23 +02:00
2014-04-23 10:28:14 +02:00