diff options
author | Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> | 2021-04-26 05:47:10 +0200 |
---|---|---|
committer | Anthony PERARD <anthony.perard@citrix.com> | 2024-03-12 14:13:08 +0000 |
commit | 918a7f706b69a8c725bac0694971d2831f688ebb (patch) | |
tree | 8d8b67bb5d07203e0b0a95cdc91e2662ea8bff0b /hw/intc/ioapic_common.c | |
parent | 9253d83062268209533df4b29859e5b51a2dc324 (diff) | |
download | qemu-918a7f706b69a8c725bac0694971d2831f688ebb.zip qemu-918a7f706b69a8c725bac0694971d2831f688ebb.tar.gz qemu-918a7f706b69a8c725bac0694971d2831f688ebb.tar.bz2 |
i386: load kernel on xen using DMA
Kernel on Xen is loaded via fw_cfg. Previously it used non-DMA version,
which loaded the kernel (and initramfs) byte by byte. Change this
to DMA, to load in bigger chunks.
This change alone reduces load time of a (big) kernel+initramfs from
~10s down to below 1s.
This change was suggested initially here:
https://lore.kernel.org/xen-devel/20180216204031.000052e9@gmail.com/
Apparently this alone is already enough to get massive speedup.
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20210426034709.595432-1-marmarek@invisiblethingslab.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/intc/ioapic_common.c')
0 files changed, 0 insertions, 0 deletions