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)
Oct 23 2024, 12:31 PM
Unknown Object (File)
Oct 4 2024, 8:41 PM
Unknown Object (File)
Oct 4 2024, 8:08 PM
Unknown Object (File)
Oct 4 2024, 9:27 AM
Unknown Object (File)
Oct 3 2024, 7:12 PM
Unknown Object (File)
Oct 3 2024, 8:44 AM
Unknown Object (File)
Sep 8 2024, 11:41 PM
Unknown Object (File)
Sep 7 2024, 9:16 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.