mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-08 00:44:25 +01:00
runtime: suppport split firmware
firmware can be split into FIRMWARE_VARS.fd (UEFI variables as configuration) and FIRMWARE_CODE.fd (UEFI program image). UEFI variables can be customized per each user while UEFI code is kept same. fixes #3583 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
@@ -55,6 +55,10 @@ const (
|
||||
// FirmwarePath is a sandbox annotation for passing a per container path pointing at the guest firmware that will run the container VM.
|
||||
FirmwarePath = kataAnnotHypervisorPrefix + "firmware"
|
||||
|
||||
// FirmwareVolumePath is a sandbox annotation for passing a per container path pointing at the guest firmware volume
|
||||
// that will be passed to the container VM.
|
||||
FirmwareVolumePath = kataAnnotHypervisorPrefix + "firmware_volume"
|
||||
|
||||
// KernelHash is a sandbox annotation for passing a container kernel image SHA-512 hash value.
|
||||
KernelHash = kataAnnotHypervisorPrefix + "kernel_hash"
|
||||
|
||||
@@ -76,6 +80,9 @@ const (
|
||||
// FirmwareHash is an sandbox annotation for passing a container guest firmware SHA-512 hash value.
|
||||
FirmwareHash = kataAnnotHypervisorPrefix + "firmware_hash"
|
||||
|
||||
// FirmwareVolumeHash is an sandbox annotation for passing a container guest firmware volume SHA-512 hash value.
|
||||
FirmwareVolumeHash = kataAnnotHypervisorPrefix + "firmware_volume_hash"
|
||||
|
||||
// AssetHashType is the hash type used for assets verification
|
||||
AssetHashType = kataAnnotationsPrefix + "asset_hash_type"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user