From: Lennart Poettering Date: Sun, 8 Mar 2026 19:51:38 +0000 (+0100) Subject: vmspawn: make efi variable nvram dependent on whether the EFI profile knows the conce... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cd3462014a1383514142b7d0863642148d878ec;p=thirdparty%2Fsystemd.git vmspawn: make efi variable nvram dependent on whether the EFI profile knows the concept, not on secureboot --- diff --git a/src/vmspawn/vmspawn.c b/src/vmspawn/vmspawn.c index c114693d911..8f08fdb81ca 100644 --- a/src/vmspawn/vmspawn.c +++ b/src/vmspawn/vmspawn.c @@ -2367,7 +2367,7 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) { return log_oom(); _cleanup_(unlink_and_freep) char *ovmf_vars_to = NULL; - if (ovmf_config->supports_sb) { + if (ovmf_config->vars) { const char *ovmf_vars_from = ovmf_config->vars; _cleanup_free_ char *escaped_ovmf_vars_to = NULL; _cleanup_close_ int source_fd = -EBADF, target_fd = -EBADF;