From c021defa5768d892a7189dbc34a13690f69ffae2 Mon Sep 17 00:00:00 2001 From: Oliver Walsh Date: Thu, 8 Jun 2023 14:43:44 +0100 Subject: [PATCH] Enable UEFI on kubevirt VMs --- controllers/openstackvmset_controller.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/controllers/openstackvmset_controller.go b/controllers/openstackvmset_controller.go index 4eeac144..c3aff64e 100644 --- a/controllers/openstackvmset_controller.go +++ b/controllers/openstackvmset_controller.go @@ -849,6 +849,12 @@ func (r *OpenStackVMSetReconciler) vmCreateInstance( Machine: &virtv1.Machine{ Type: "", }, + Features: &virtv1.Features{ + SMM: &virtv1.FeatureState{ Enabled: &trueValue }, + }, + Firmware: &virtv1.Firmware{ + Bootloader: &virtv1.Bootloader{ EFI: &virtv1.EFI{} }, + }, }, Volumes: []virtv1.Volume{}, Networks: []virtv1.Network{