]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/riscv/virt.c
elf: Add optional function ptr to load_elf() to parse ELF notes
[mirror_qemu.git] / hw / riscv / virt.c
index e7f0716fb66702bb5ffc4c03741625794db59f36..3e8b19c6689851ad0c2bb9a9eb08257042b8f04c 100644 (file)
@@ -66,7 +66,7 @@ static uint64_t load_kernel(const char *kernel_filename)
 {
     uint64_t kernel_entry, kernel_high;
 
-    if (load_elf(kernel_filename, NULL, NULL,
+    if (load_elf(kernel_filename, NULL, NULL, NULL,
                  &kernel_entry, NULL, &kernel_high,
                  0, EM_RISCV, 1, 0) < 0) {
         error_report("could not load kernel '%s'", kernel_filename);