diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-07-24 16:31:04 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-20 17:26:18 +0200 |
commit | 816b9fe450220e19acb91a0ce4a8ade7000648d1 (patch) | |
tree | 84134ce29863201f151bd904c455508bc64f5d02 /docs/index.rst | |
parent | fef28891aa401e8f9d048c65f32067f51d695f4e (diff) |
elf-ops.h: Map into memory the ELF to load
In order to reduce the memory footprint we map into memory
the ELF to load using g_mapped_file_new_from_fd() instead of
reading each sections. In this way we can share the ELF pages
between multiple instances of QEMU.
Suggested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190724143105.307042-3-sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/index.rst')
0 files changed, 0 insertions, 0 deletions