Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: db827286e2839102c5b0a45f88a99b8ef94c6d48
      
https://github.com/tianocore/edk2/commit/db827286e2839102c5b0a45f88a99b8ef94c6d48
  Author: Gary Lin <[email protected]>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c

  Log Message:
  -----------
  OvmfPkg/SerializeVariablesLib: Relax check for the read-only variable

When OVMF tried to restore the variables from the file-based NvVars, it
failed to set the read-only variable and aborted the restoration with
this message:

Variable Check ReadOnly variable fail Write Protected - 
04B37FE8-F6AE-480B-BDD5-37D98C5E89AA:VarErrorFlag

Since it's a read-only variable maintained by the firmware, it's
pointless to restore the previous value, so the check can be
relaxed to allow EFI_WRITE_PROTECTED returned from SetVariable.

Cc: Laszlo Ersek <[email protected]>
Cc: Jordan Justen <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to