diff options
| author | Stefano Garzarella | 2019-07-24 16:31:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2019-08-20 17:26:18 +0200 |
| commit | e502fe96ac4343a3f4a3c13f28eea03ae7b11c3f (patch) | |
| tree | edcc405a47e5cbda2ce48580cfe819de5b1dab5d /python | |
| parent | elf-ops.h: Map into memory the ELF to load (diff) | |
| download | qemu-e502fe96ac4343a3f4a3c13f28eea03ae7b11c3f.tar.gz qemu-e502fe96ac4343a3f4a3c13f28eea03ae7b11c3f.tar.xz qemu-e502fe96ac4343a3f4a3c13f28eea03ae7b11c3f.zip | |
hw/i386/pc: Map into memory the initrd
In order to reduce the memory footprint we map into memory
the initrd using g_mapped_file_new() instead of reading it.
In this way we can share the initrd pages between multiple
instances of QEMU.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190724143105.307042-4-sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
