Skip to content

Conversation

nicholasbishop
Copy link
Member

The behavior of OVMF changed recently so that calling
query_variable_info with just the NON_VOLATILE attribute is treated as
an error:
tianocore/edk2@21320ef

Fix by OR'ing it with BOOTSERVICE_ACCESS.

Also fix a typo in the output, and unwrap the result of calling
query_variable_info since these calls should always succeed.

The behavior of OVMF changed recently so that calling
query_variable_info with just the `NON_VOLATILE` attribute is treated as
an error:
tianocore/edk2@21320ef

Fix by OR'ing it with `BOOTSERVICE_ACCESS`.

Also fix a typo in the output, and `unwrap` the result of calling
`query_variable_info` since these calls should always succeed.
@GabrielMajeri
Copy link
Collaborator

Thanks for catching this, LGTM.

@GabrielMajeri GabrielMajeri merged commit 45093a1 into main Jun 13, 2022
@nicholasbishop nicholasbishop deleted the bishop-fix-var-query branch June 13, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants