microsoft / openvmm

Home of OpenVMM and OpenHCL.
http://openvmm.dev/
MIT License
1.36k stars 59 forks source link

Handle existing attributes for SecureBoot variable in legacy NVRAM stores #157

Closed mebersol closed 1 day ago

mebersol commented 4 days ago

Older versions of OpenHCL (and Hyper-V, closed-source HCL, etc. ) may have created SecureBoot variable with NV attribute, which doesn't match the UEFI spec. If this variable already exists, use its existing attributes.