]> Git Repo - qemu.git/commit
loader: Handle memory-mapped ELFs
authorStefano Garzarella <[email protected]>
Wed, 24 Jul 2019 14:31:03 +0000 (16:31 +0200)
committerPaolo Bonzini <[email protected]>
Tue, 20 Aug 2019 15:26:18 +0000 (17:26 +0200)
commitfef28891aa401e8f9d048c65f32067f51d695f4e
tree7895421ae53e64a65b0f411e58678d0f59a0a3f9
parentb896c4b50da107bf0d40e6215d4ee20daf64723b
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 <[email protected]>
Signed-off-by: Stefano Garzarella <[email protected]>
Message-Id: <20190724143105[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/core/loader.c
include/hw/elf_ops.h
include/hw/loader.h
This page took 0.026288 seconds and 4 git commands to generate.