summaryrefslogtreecommitdiffstats
path: root/include/exec/hwaddr.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin2015-02-17 10:40:30 +0100
committerMichael S. Tsirkin2015-02-26 12:42:20 +0100
commitafaa2e4bc4e17360307cb86fbb1d5d350ae22961 (patch)
treea31c02a0706a5e15249f8f9bed95b1019578212a /include/exec/hwaddr.h
parentacpi: has_immutable_rsdp->!rsdp_in_ram (diff)
downloadqemu-afaa2e4bc4e17360307cb86fbb1d5d350ae22961.tar.gz
qemu-afaa2e4bc4e17360307cb86fbb1d5d350ae22961.tar.xz
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/exec/hwaddr.h')
0 files changed, 0 insertions, 0 deletions