diff options
author | Marcus Hähnel | 2021-10-20 14:55:04 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-11-02 15:57:27 +0100 |
commit | 48972f8cad24eb4462c97ea68003e2dd35be0444 (patch) | |
tree | 6381678103fc9d67e5247006b31c218828a39eda /pc-bios/multiboot_dma.bin | |
parent | target/i386: move linuxboot_dma_enabled to X86MachineState (diff) | |
download | qemu-48972f8cad24eb4462c97ea68003e2dd35be0444.tar.gz qemu-48972f8cad24eb4462c97ea68003e2dd35be0444.tar.xz qemu-48972f8cad24eb4462c97ea68003e2dd35be0444.zip |
optionrom: add a DMA-enabled multiboot ROM
Add a new option rom for the multiboot loader, using DMA transfers to copy
data instead of "rep insb".
This significantly lowers QEMU's startup latency by a factor of about 40,
for example, going from 30sec to 0.8sec when loading modules of 120MB
in size.
Signed-off-by: Marcus Hähnel <marcus.haehnel@kernkonzept.com>
Signed-off-by: Adam Lackorzynski <adam@l4re.org>
[Modified to keep the non-DMA code depending on #ifdef USE_FW_CFG_DMA;
do not write below stack. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pc-bios/multiboot_dma.bin')
-rw-r--r-- | pc-bios/multiboot_dma.bin | bin | 0 -> 1024 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/pc-bios/multiboot_dma.bin b/pc-bios/multiboot_dma.bin Binary files differnew file mode 100644 index 0000000000..c0e2c3102a --- /dev/null +++ b/pc-bios/multiboot_dma.bin |