Merge pull request #31758 from DaanDeMeyer/kvm

mkosi: Enable KVM
This commit is contained in:
Daan De Meyer
2024-03-14 00:16:43 +01:00
committed by GitHub
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -2376,7 +2376,7 @@ static EFI_STATUS image_start(
* so). */
_cleanup_free_ char16_t *options = xstrdup16(options_initrd ?: entry->options_implied ? NULL : entry->options);
if (!is_confidential_vm()) {
if (entry->type == LOADER_LINUX && !is_confidential_vm()) {
const char *extra = smbios_find_oem_string("io.systemd.boot.kernel-cmdline-extra");
if (extra) {
_cleanup_free_ char16_t *tmp = TAKE_PTR(options), *extra16 = xstr8_to_16(extra);