diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2015-02-17 10:40:30 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-02-26 12:42:20 +0100 |
| commit | afaa2e4bc4e17360307cb86fbb1d5d350ae22961 (patch) | |
| tree | a31c02a0706a5e15249f8f9bed95b1019578212a /include/standard-headers/linux/types.h | |
| parent | 384fb32ea7984ed6e5fdcea0bbc3d5b01238806b (diff) | |
| download | focaccia-qemu-afaa2e4bc4e17360307cb86fbb1d5d350ae22961.tar.gz focaccia-qemu-afaa2e4bc4e17360307cb86fbb1d5d350ae22961.zip | |
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>
Diffstat (limited to 'include/standard-headers/linux/types.h')
0 files changed, 0 insertions, 0 deletions