diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-07-24 16:31:03 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-20 17:26:18 +0200 |
commit | fef28891aa401e8f9d048c65f32067f51d695f4e (patch) | |
tree | 7895421ae53e64a65b0f411e58678d0f59a0a3f9 /hw/pci-bridge | |
parent | b896c4b50da107bf0d40e6215d4ee20daf64723b (diff) |
loader: Handle memory-mapped ELFs
This patch allows handling an ELF memory-mapped, taking care
the reference count of the GMappedFile* passed through
rom_add_elf_program().
In this case, the 'data' pointer is not heap-allocated, so
we cannot free it.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190724143105.307042-2-sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci-bridge')
0 files changed, 0 insertions, 0 deletions