-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set type_of_loader after measurements
QEMU assumes all SEV virtual machines use OVMF and EFI stub for booting, and leaves type_of_loader as 0. In stage0, after reading from fw_cfg, the type_of_loader is overwritten to 0. However, the guest kernel needs a non-zero value for direct kernel boot. This patch adds a setter function for type_of_loader, and set it to 0xFF after measurement calculation. Bug: b/343736249 Change-Id: If388eced6de4e28c5784eca878584bc671008050
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters