From a0762694d1d1aa1225239cbc7745d0319854cd6c 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..9f73c0b6 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{