VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/VirtHstiDxe/README.md

最後變更 在這個檔案是 105670,由 vboxsync 提交於 7 月 前

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.4 KB
 
1
2# virtual machine platform hsti driver
3
4This driver supports three tests.
5
6## VIRT_HSTI_BYTE0_SMM_SMRAM_LOCK
7
8Verify the SMM memory is properly locked down.
9
10Supported platforms:
11 * Qemu Q35 (SMM_REQUIRE=TRUE builds).
12
13## VIRT_HSTI_BYTE0_SMM_SECURE_VARS_FLASH
14
15Verify the variable store is not writable for normal (not SMM) code.
16
17Supported platforms:
18 * Qemu Q35 (SMM_REQUIRE=TRUE builds).
19
20## VIRT_HSTI_BYTE0_READONLY_CODE_FLASH
21
22Verify the firmware code is not writable for the guest.
23
24Supported platforms:
25 * Qemu Q35
26 * Qemu PC
27
28# qemu flash configuration
29
30With qemu being configured properly flash behavior should be this:
31
32configuration | OVMF_CODE.fd | OVMF_VARS.fd
33-------------------------------|----------------|---------------
34SMM_REQUIRE=TRUE, SMM mode | read-only | writable
35SMM_REQUIRE=TRUE, normal mode | read-only (1) | read-only (2)
36SMM_REQUIRE=FALSE | read-only (3) | writable
37
38VIRT_HSTI_BYTE0_READONLY_CODE_FLASH will verify (1) + (3).
39VIRT_HSTI_BYTE0_SMM_SECURE_VARS_FLASH will verify (2).
40
41## qemu command line for SMM_REQUIRE=TRUE builds
42```
43qemu-system-x86-64 -M q35,smm=on,pflash0=code,pflash1=vars \
44 -blockdev node-name=code,driver=file,filename=OVMF_CODE.fd,read-only=on \
45 -blockdev node-name=vars,driver=file,filename=OVMF_VARS.fd \
46 -global driver=cfi.pflash01,property=secure,value=on \
47 [ ... more options here ... ]
48```
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette