]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
feat(qemu): add efi_secret driver
authorCole Robinson <crobinso@redhat.com>
Fri, 4 Nov 2022 20:46:41 +0000 (16:46 -0400)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 5 Nov 2022 20:22:44 +0000 (16:22 -0400)
Despite the generic name, the only current use of the `efi_secret`
is exposing data in /sys that's been injected into a SEV/SEV-ES
virtual machine. More info:

https://docs.kernel.org/security/secrets/coco.html

This secret is probably a luks password, so we need this driver at
boot time.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
modules.d/90qemu/module-setup.sh

index 01bc0c3ded6924dd11badc099ec699bc6aa8ad40..d11f37778fb251805239d2e99681cdbfe78b2480 100755 (executable)
@@ -18,5 +18,6 @@ installkernel() {
         virtio_blk virtio virtio_ring virtio_pci \
         virtio_scsi virtio_console virtio_rng virtio_mem \
         spapr-vscsi \
-        qemu_fw_cfg
+        qemu_fw_cfg \
+        efi_secret
 }