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 <p...@kamp.de>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