Page MenuHomeFreeBSD

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

Authored by bcran on Apr 26 2019, 2:26 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bcran created this revision.Apr 26 2019, 2:26 PM
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)
emaste accepted this revision.Apr 26 2019, 2:34 PM
This revision is now accepted and ready to land.Apr 26 2019, 2:34 PM
imp accepted this revision.Apr 26 2019, 2:36 PM
This revision was automatically updated to reflect the committed changes.