aboutsummaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-07-24 16:31:05 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-08-20 17:26:18 +0200
commite502fe96ac4343a3f4a3c13f28eea03ae7b11c3f (patch)
treeedcc405a47e5cbda2ce48580cfe819de5b1dab5d /memory.c
parent816b9fe450220e19acb91a0ce4a8ade7000648d1 (diff)
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 'memory.c')
0 files changed, 0 insertions, 0 deletions