aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/x86.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-10-20 15:59:44 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-11-02 15:57:27 +0100
commit3ca8ce720f1be18ed3f13d28ef7c20704fdabffb (patch)
tree90b8e9d001bb9b778aa7f3d4c0e0f4df696a2f7a /hw/i386/x86.c
parent48972f8cad24eb4462c97ea68003e2dd35be0444 (diff)
downloadqemu-3ca8ce720f1be18ed3f13d28ef7c20704fdabffb.zip
qemu-3ca8ce720f1be18ed3f13d28ef7c20704fdabffb.tar.gz
qemu-3ca8ce720f1be18ed3f13d28ef7c20704fdabffb.tar.bz2
target/i386: use DMA-enabled multiboot ROM for new-enough QEMU machine types
As long as fw_cfg supports DMA, the new ROM can be used also on older machine types because it has the same size as the existing one. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/x86.c')
-rw-r--r--hw/i386/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/x86.c b/hw/i386/x86.c
index a34498f..b84840a 100644
--- a/hw/i386/x86.c
+++ b/hw/i386/x86.c
@@ -814,7 +814,7 @@ void x86_load_linux(X86MachineState *x86ms,
* PVH), so we try multiboot first since we check the multiboot magic
* header before to load it.
*/
- if (load_multiboot(fw_cfg, f, kernel_filename, initrd_filename,
+ if (load_multiboot(x86ms, fw_cfg, f, kernel_filename, initrd_filename,
kernel_cmdline, kernel_size, header)) {
return;
}