// Module included in the following assemblies:
//
// * virt/virtual_machines/advanced_vm_management/virt-uefi-mode-for-vms.adoc

:_mod-docs-content-type: PROCEDURE
[id="configuring-vm-with-persistent-efi_{context}"]
= Configuring VMs with persistent EFI

[role="_abstract"]
You can configure a VM to have EFI persistence enabled by editing its manifest file.

.Procedure

* Edit the VM manifest file and save to apply settings.
+
[source,yaml]
----
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  name: vm
spec:
  template:
    spec:
      domain:
        firmware:
          bootloader:
            efi:
              persistent: true
# ...
----
