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

Include SVSM module as a payload in OVMF firmware image #33

Closed
wants to merge 3 commits into from

Commits on May 22, 2023

  1. svsm: Introduce vscode settings file

    Add .vscode/settings.json that correctly configures the vscode Rust
    analyzer and ignores git repositories for all submodules to improve
    developer experience for people using vscode.
    
    Signed-off-by: Roy Hopkins <[email protected]>
    roy-hopkins committed May 22, 2023
    Configuration menu
    Copy the full SHA
    781c7e9 View commit details
    Browse the repository at this point in the history
  2. svsm/edk2: Introduce OVMF as submodule and build

    COCONUT-SVSM requires a build of OVMF that supports booting via an SVSM
    module. A default OVMF X64 firmware does not include this capability.
    Therefore, rather than instructing the developer how to clone and
    prepare a build of EDK2/OVMF, this patch adds the correct EDK2
    repository and branch as a submodule and builds it as part of the SVSM
    makefile.
    
    Signed-off-by: Roy Hopkins <[email protected]>
    roy-hopkins committed May 22, 2023
    Configuration menu
    Copy the full SHA
    28f9144 View commit details
    Browse the repository at this point in the history
  3. svsm/ovmf: Refactor OVMF guest code into module

    COCONUT-SVSM currently exclusively launches guests under OVMF. However, we
    should not assume this will always be the case. With this in mind, and
    also to prepare for integrating the SVSM build with OVMF the current
    OVMF specific code has been refactored into a module to abstract
    specific steps away from svsm.rs.
    
    If another guest firmware is required in the future, it will be quite
    simple to create a trait from the ovmf_fw/OvmfFw structure to limit any
    changes required to the main SVSM module.
    
    Signed-off-by: Roy Hopkins <[email protected]>
    roy-hopkins committed May 22, 2023
    Configuration menu
    Copy the full SHA
    a3cfa67 View commit details
    Browse the repository at this point in the history