qemu/hw/i386
Stefano Garzarella e502fe96ac 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>
2019-08-20 17:26:18 +02:00
..
kvm sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
xen sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
acpi-build.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
acpi-build.h
amd_iommu.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
amd_iommu.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
fw_cfg.c
fw_cfg.h
intel_iommu_internal.h
intel_iommu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
Kconfig
kvmvapic.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
Makefile.objs
multiboot.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
multiboot.h
pc_piix.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
pc_q35.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
pc_sysfw.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
pc.c hw/i386/pc: Map into memory the initrd 2019-08-20 17:26:18 +02:00
trace-events
vmmouse.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
vmport.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
x86-iommu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00