Skip to content

igvm_c: add IGVM_VHT_OPTIONAL_BIT const#121

Open
luigix25 wants to merge 1 commit into
microsoft:mainfrom
luigix25:igvm_optional
Open

igvm_c: add IGVM_VHT_OPTIONAL_BIT const#121
luigix25 wants to merge 1 commit into
microsoft:mainfrom
luigix25:igvm_optional

Conversation

@luigix25
Copy link
Copy Markdown
Contributor

@luigix25 luigix25 commented May 25, 2026

Bit 31 of a Variable Header Type indicates the header is optional and can be ignored by loaders that do not recognize it.

Add it as a const. This will be automatically exposed as a convenience macro in the generated C header.

@luigix25 luigix25 requested a review from a team as a code owner May 25, 2026 12:47
@luigix25
Copy link
Copy Markdown
Contributor Author

This is part of an ongoing to support optional directives in QEMU (https://lore.kernel.org/qemu-devel/20260525-igvm_optional-v1-1-28edc607acfd@redhat.com)

Bit 31 of a Variable Header Type indicates the header is optional
and can be ignored by loaders that do not recognize it.

Add it as a const. This will be automatically exposed as a
convenience macro in the generated C header.

Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
@luigix25 luigix25 changed the title igvm_c: add IGVM_VHT_OPTIONAL_BIT macro to C igvm_c: add IGVM_VHT_OPTIONAL_BIT const May 25, 2026
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.

1 participant