aboutsummaryrefslogtreecommitdiff
path: root/net/tap_int.h
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-07-24 16:31:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-08-20 17:26:18 +0200
commit816b9fe450220e19acb91a0ce4a8ade7000648d1 (patch)
tree84134ce29863201f151bd904c455508bc64f5d02 /net/tap_int.h
parentfef28891aa401e8f9d048c65f32067f51d695f4e (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 'net/tap_int.h')
0 files changed, 0 insertions, 0 deletions