mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 01:13:02 +00:00 
			
		
		
		
	govmm: Directly pass the firmware using -bios with TDX
Since TDX doesn't support readonly memslot, TDVF cannot be mapped as pflash device and it actually works as RAM. "-bios" option is chosen to load TDVF. OVMF is the opensource firmware that implements the TDVF support. Thus the command line to specify and load TDVF is ``-bios OVMF.fd`` Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
		| @@ -348,12 +348,7 @@ func (object Object) QemuParams(config *Config) []string { | ||||
| 		if object.Debug { | ||||
| 			objectParams = append(objectParams, "debug=on") | ||||
| 		} | ||||
| 		deviceParams = append(deviceParams, string(object.Driver)) | ||||
| 		deviceParams = append(deviceParams, fmt.Sprintf("id=%s", object.DeviceID)) | ||||
| 		deviceParams = append(deviceParams, fmt.Sprintf("file=%s", object.File)) | ||||
| 		if object.FirmwareVolume != "" { | ||||
| 			deviceParams = append(deviceParams, fmt.Sprintf("config-firmware-volume=%s", object.FirmwareVolume)) | ||||
| 		} | ||||
| 		config.Bios = object.File | ||||
| 	case SEVGuest: | ||||
| 		fallthrough | ||||
| 	case SNPGuest: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user