Files
qemu/hw
Michael S. Tsirkin afaa2e4bc4 acpi-build: simplify rsdp management for legacy
For legacy machine types, rsdp is not in RAM, so we need a copy of rsdp
for fw cfg. We previously used g_array_free with false parameter,
but this seems to confuse people.
This also wastes a bit of memory as the buffer is unused for new
machine types.

Let's just use plain g_memdup, and free original memory together with
the array.

TODO: rationalize tcpalog memory management, and get rid of the mfre
parameter.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
2015-02-26 12:42:20 +01:00
..
2015-02-16 17:30:19 +01:00
2014-08-15 19:12:48 +04:00
2015-02-26 12:42:17 +01:00
2015-02-26 12:42:17 +01:00
2014-11-04 23:26:12 +01:00
2015-02-26 12:42:17 +01:00
2015-02-10 09:27:20 +03:00
2015-02-26 12:42:18 +01:00
2015-02-13 14:09:27 +00:00
2015-02-26 12:42:17 +01:00
2014-10-24 12:19:11 +01:00