|
From: | Peter Lieven |
Subject: | Re: [Qemu-devel] [PATCH 09/15] loader: use mmap for ROMs |
Date: | Tue, 28 Jun 2016 13:26:47 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Am 28.06.2016 um 12:41 schrieb Paolo Bonzini:
On 28/06/2016 11:01, Peter Lieven wrote:a classic use for mmap here. Signed-off-by: Peter Lieven <address@hidden>They are never freed, why does mmap help?
Actually it is. Adding some debug output to rom_add_file and rom_reset reveals the following: rom load: /home/lieven/git/qemu/pc-bios/bios-256k.bin rom load: /home/lieven/git/qemu/pc-bios/kvmvapic.bin rom_reset I think the rom is copied to system memory? Peter
[Prev in Thread] | Current Thread | [Next in Thread] |