Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the bootloader hanging during uefi exit_boot_services #457

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Sep 16, 2024

  1. Run test with 8 processors

    Tests will now fail with a timeout error after 2 minutes. That should
    bee more than enough to run any test.
    Wasabi375 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    b8e2b9b View commit details
    Browse the repository at this point in the history
  2. Update uefi crate from 0.20 to 0.32

    This also switches to the new API of the uefi crate that was
    introduced in version 0.31. The old api was deprecated in 0.32 and
    will be removed in 0.33.
    See https://github.com/rust-osdev/uefi-rs/blob/ac19526656953c32e8e0ef7bc703f7700b151ae4/docs/funcs_migration.md
    and rust-osdev/uefi-rs#893
    Wasabi375 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    e41c6c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Start qemu uefi using pflash instead of bios

    Switch from using the "-bios" flag to using "-pflash" instead.
    Using "-bios" is not recomended see:
    https://lists.katacontainers.io/pipermail/kata-dev/2021-January/001650.html
    
    This also allows us to easily update the ovmf-prebuild binaries.
    
    This fixes rust-osdev#400. I'm not sure whether the issue was an outdated ovmf
    version or the bios-pflash change. I can't tell what version is
    published with the ovmf-prebuild crate, so I can't check.
    
    Ovmf binaries are no longer provided by the ovmf-prebuild crate.
    Instead we now download them from the ovmf-prebuild github releases of
    the same crate. Unlike the crate, those are actually updated.
    
    Fixes rust-osdev#400
    Wasabi375 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    0075368 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    034ddb6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ef3241 View commit details
    Browse the repository at this point in the history