Page MenuHomeFreeBSD

Fix tools/boot/ci-qemu-test.sh and make some improvements
ClosedPublic

Authored by bcran on Apr 26 2019, 2:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 11, 1:58 PM
Unknown Object (File)
Mon, Mar 11, 1:58 PM
Unknown Object (File)
Mon, Mar 11, 1:57 PM
Unknown Object (File)
Fri, Mar 8, 2:01 AM
Unknown Object (File)
Jan 6 2024, 9:44 PM
Unknown Object (File)
Jan 6 2024, 9:44 PM
Unknown Object (File)
Jan 6 2024, 9:44 PM
Unknown Object (File)
Jan 4 2024, 7:56 PM
Subscribers

Details

Summary

Update ci-qemu-test.sh

  • Update the path to the OVMF file, which is now in /usr/local/share/uefi-edk2-qemu.
  • Use the more modern q35, pc-q35-3.0 (Q35 + ICH9, 2009) QEMU machine instead of the default, obsolete pc, pc-i440fx-3.0 (i440FX + PIIX, 1996). For example this adds ACPI support.
  • Specify the system firmware using the newer pflash drive syntax instead of bios.
  • Remove extra, unneeded devices by passing -nodefaults
  • Change text to talk about 'firmware' instead of 'bios', since UEFI isn't a BIOS.
Test Plan

Ran the script and verified it succeeded with QEMU 3.0.1 from emulators/qemu.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bcran retitled this revision from Update ci-qemu-test.sh - Update the path to the OVMF file, which is now in /usr/local/share/uefi-edk2-qemu. - Use the more modern q35, pc-q35-3.0 (Q35 + ICH9, 2009) QEMU machine instead of the default, obsolete pc, pc-i440fx-3.0 (i440FX + PIIX... to Fix tools/boot/ci-qemu-test.sh and make some improvements.Apr 26 2019, 2:29 PM
bcran edited the summary of this revision. (Show Details)
bcran edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Apr 26 2019, 2:34 PM
This revision was automatically updated to reflect the committed changes.