Repository navigation
Feature : Convert ResourceDescriptor V1 HOBs to V2 format with cache attributes Description: - #855
Conversation
|
@makubacki @joschock @Javagedes @singweeMsftGitHub - Have finished implementing the feature support for V1->V2 support - Resource Descriptor Hob. Thanks @Javagedes for helping with the breaking change issues encountered while running in QEMU. |
…into personal/rkartheek/v1
- Fixes cargo-vet audit failure for toml_edit:0.23.7 - Follows existing pattern of trusting Ed Page (epage) for related packages
os-d
left a comment
There was a problem hiding this comment.
Thanks, this looks good! A couple other minor comments.
Approving, but as noted, this cannot be merged yet because platforms are still depending on producing v1 HOBs. When this is resolved (hopefully soon) we can merge it.
|
Dry run is failing for this and it is not reproducible on local system at all. Local system is clean. The Git Hub Helper suggested to take care of dry run issues by this #858 |
That solution is not valid. It is attempting to commit to your PR. If anything, it should be deleting the created files, not committing them. However, I suspect this occurs due to cargo vet failing its check. In that cause, the reason cargo vet failed (probably due to a crate being released) needs to be investigated and resolved. |
@Javagedes / @HappyCoding-2025, can you summarize what the issue is? |
@makubacki Since this repo has many library crates, not binary crates, we do not commit a Cargo.lock file. This means that every time we run CI, we generate a new Cargo.lock file, which means the most up to date dependencies are selected. Cargo vet runs on two different types of approvals: (1) approvals for specific versions of crates or (2) blanket approvals for authors. We have an intermixing of both in our cargo vet config files. Ultimately what this boils down to is we randomly fail the cargo vet check whenever a new version of our dependencies is published to crates.io, and that dependency only has approvals for specific versions in our cargo vet config files. This is the 4th occurrence of this in two days. |
Immediate change is here: #860 |
- Fixes cargo-vet audit failure for toml_edit:0.23.7 - Follows existing pattern of trusting Ed Page (epage) for related packages
|
@makubacki @Javagedes @joschock @os-d - For V1, ad @makubacki suggested, had to revert V2 support OpenDevicePartnership/patina-qemu#43
|
…into personal/rkartheek/v1
…into personal/rkartheek/v1
|
@makubacki @Javagedes @joschock - could you pls check and review when free. Once this is merged, I would like to pick up another feature. @os-d - thanks for approving. I have taken care of all the review comments. |
…into personal/rkartheek/v1
…into personal/rkartheek/v1
|
I should have removed my approval, that was from the original implementation. There were a couple of the comments that I think needed to be addressed in a different way, I'll put up a PR. |
I was also typing up a comment about some remaining duplication in the docs when the PR was merged. I assume you're aware of and will address that too. |

#519
Breaking Change
Description
This feature converts the codebase from using ResourceDescriptor V1 HOBs to the newer V2 format, which includes cache attribute information for improved memory management and security.
Testing -

Build completed fine and was tested in QEMU.
How This Was Tested
CI, QEMU
Integration documentation