Skip to content

Commit 075b17c

Browse files
saksham-oraclesandrobonazzola
authored andcommitted
"secure boot" not getting enabled for Chipset/Firmware Type "Q35 Chipset with UEFI SecureBoot".
Issue: When VM emulator is changed to Q35 Chipset with UEFI SecureBoot from Q35 Chipset with UEFI, the NVRAM file needs to be rewritten. Fix: On VM update remove the previous NVRAM file. Signed-off-by: Saksham Srivastava <[email protected]>
1 parent e0e4b37 commit 075b17c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packaging/dbscripts/vms_sp.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2507,6 +2507,10 @@ BEGIN
25072507
DELETE FROM vm_nvram_data
25082508
WHERE vm_id = OLD.vm_guid;
25092509
END IF;
2510+
IF OLD.bios_type = 3 AND NEW.bios_type = 4 THEN
2511+
DELETE FROM vm_nvram_data
2512+
WHERE vm_id = OLD.vm_guid;
2513+
END IF;
25102514
RETURN NEW;
25112515
END;$$
25122516
LANGUAGE plpgsql;

0 commit comments

Comments
 (0)